-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge split UPE tests with main gateway tests #7954
Merged
Merged
Changes from 24 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
374b219
merge split UPE tests into main gateway
4d9bbb6
merge split UPE tests into main gateway - II
678059d
Merge branch 'develop' into merge/upe-non-upe-tests
5012f8e
isolate tested gateway within its test to avoid dependencies that lea…
b69676d
merge UPE tests into main gateway - III
fccc591
add changelog entry
6b0c3c4
merge UPE tests into main gateway - IV
dc61bf2
remove non-relevant test which was based on not existing anymore wc_p…
d9db944
remove redundant helper function
ad83788
merge UPE tests into main gateway - V
88e61d2
cleanup e2e tests - part I
8ccd202
cleanup e2e tests - part II
715f64f
Merge branch 'develop' into tmpp
8f0cd40
add temporary fix to make unrelated tests pass
5a1bf17
re-organize and cleanup the code
138cbaf
add default pm setting test to the proper space
0f4f0a5
Revert "add temporary fix to make unrelated tests pass"
da79df1
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 cde09db
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 944279e
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 7ee602b
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 a0bdb59
Merge branch 'develop' of github.com:Automattic/woocommerce-payments …
5e23ce9
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 809d05d
chore: align class names and update helper functions description
92dfd09
Merge branch 'develop' of github.com:Automattic/woocommerce-payments …
c4a16ca
fix test post-merge
21a7079
Merge branch 'develop' of github.com:Automattic/woocommerce-payments …
c8838f2
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 d750ad7
Merge branch 'develop' into merge/upe-non-upe-tests
timur27 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: dev | ||
|
||
Merge UPE tests into the single and main gateway test file for unit and E2E tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 0 additions & 117 deletions
117
tests/e2e/specs/upe-split/shopper/shopper-upe-enabled-all-flows.spec.js
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test suite consist of duplicates similarly to |
This file was deleted.
Oops, something went wrong.
112 changes: 0 additions & 112 deletions
112
tests/e2e/specs/upe/shopper/shopper-upe-enabled-all-flows.spec.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've merged the upe/bnpl tests into
wcpay/shopper
because I don't see the need of distinguishing between those groups anymore. One downside of this is thatwcpay - shopper
now runs a bit longer. Looking forward to hearing the opinions of others.Same for
.github/workflows/e2e-tests-atomic.yml
changes below.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timur27 I agree that we don't need to have too many sub groups for E2E tests. Moving UPE tests to shopper makes sense as long as it doesn't add too much time addition to the test runtime.
What is the time difference you've noticed after moving the tests to shopper?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@achyuthajoy thanks, I think it's not more than 110 seconds but it's hard to confirm as of today because tests are failing on
develop
. I will get back if after fixingdevelop
this branch will be extended by more than ~2mins but in the meantime let's assume this is the change.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sound good to me.