-
Notifications
You must be signed in to change notification settings - Fork 593
chore(tests): end to end testing again #11428
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
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
9929a99
update sign up flow for updated design
brainbicycle c92bc80
accesibility labels for easier testing
brainbicycle 57d459a
assert on welcome screen to make wait reliably
brainbicycle b1eb0f4
update login flow
brainbicycle 4196325
get rid of broken license check for now
brainbicycle a47bea1
attempt to install maestro in ci
brainbicycle 16f3df8
attempt to run a test in ci
brainbicycle 655e178
attempt with s3 download for now
brainbicycle 4edfc54
need to check out project
brainbicycle d1d1b2b
try using m2 pro
brainbicycle d637806
ignore maestro folder for now
brainbicycle 1712a5d
convenience script for installing app in booted sims
brainbicycle 92c37c8
move flows to top level for now
brainbicycle 312d109
attempt to run tests in parallel in ci
brainbicycle 7bca89b
increase timeout for maestro tests
brainbicycle 70bee59
basic deeplink testing
brainbicycle 9f03980
try using xcode 16.2
brainbicycle 8c8af6e
add missing idb install
brainbicycle b958392
don't clear state for deeplink tests to make more reliable
brainbicycle c003aa8
try just one flow again
brainbicycle 2a9d3ed
try just booting one simulator
brainbicycle a700b69
try parallelizing using circle parallelism
brainbicycle 41df5b6
duplicate assertion in deeplink test
brainbicycle b307641
fix yml matching
brainbicycle 9fe0b4f
add launch args dep and convenience methods for sign in and sign out
brainbicycle cf2fdb9
use signOut method instead of buggy clearState
brainbicycle cf02c8d
move launch args to real deps for now
brainbicycle bcacdde
remove dev check for now
brainbicycle 65c3063
move maestro launch vals to hook to make more reliable, comment out p…
brainbicycle 4fe9759
script to workaround xarg exit code behavior
brainbicycle 4ebaf9f
only sign out if currently signed in to prevent ui breakage
brainbicycle 19e4c66
Merge remote-tracking branch 'origin/main' into brian/e2e-again
brainbicycle d5594f2
add required appID in config
brainbicycle 7ce7aaf
run tests in sequence to avoid exit code not being propogated
brainbicycle dbdd7a8
comment auth model lint error for now
brainbicycle ecf8044
maestro init not dependent on login state, to avoid double sign out
brainbicycle 016cd6a
remove conditional check, assert we are in signup flow
brainbicycle b54fd42
revert me: recaptcha debugging
brainbicycle 6bfaa90
Revert "revert me: recaptcha debugging"
brainbicycle 263aaaa
fix deeplink assertion
brainbicycle d5bd669
make sure brokenflows are not run
brainbicycle a9baec8
quick login for deeplink test
brainbicycle 680591c
run tests after beta
brainbicycle 13711bc
upload build to s3 and use in maestro tests
brainbicycle ac120df
gate maestro init behind check
brainbicycle 60d10dd
remove logs
brainbicycle d78b35d
test beta + e2e workflow
brainbicycle acfde67
check to avoid crash when native module called early
brainbicycle 4d8533b
bring back native module code, wait on hydration
brainbicycle 981f23c
tie e2e to beta ios builds for now
brainbicycle 7051f2d
fix zip file creation
brainbicycle d35f9cc
update version number
brainbicycle 2ec1c41
add active arch flag to speed up sim build
brainbicycle afee5ec
upgrade to xcode 16.2 and 18.2 sim
brainbicycle 3ba4a50
upload sim builds to s3
brainbicycle 8a849a6
make e2e dependent on test app rather than betas
brainbicycle 5cb2371
clean up
brainbicycle 4b8960c
typo in script
brainbicycle 06115c8
pr review: remove hardcoded appId
brainbicycle 5a489b1
pr review: move script to utils
brainbicycle e8051af
pr review: move env vars to file
brainbicycle 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 hidden or 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 hidden or 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 hidden or 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,4 @@ | ||
| appId: ${MAESTRO_APP_ID} | ||
| --- | ||
| - runFlow: | ||
| file: flows/onboarding/login.yml | ||
| - runFlow: | ||
| file: flows/onboarding/signupWithoutOnboarding.yml | ||
| # This flow is broken because of performance issues and hangs of the Art Taste Quiz Screen | ||
| # - runFlow: | ||
| # file: flows/onboarding/onboardingQuiz.yml | ||
| flows: | ||
| - "flows/*" |
This file contains hidden or 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,23 @@ | ||
| appId: ${MAESTRO_APP_ID} | ||
| --- | ||
| - launchApp: | ||
| clearState: false | ||
| arguments: | ||
| email: ${MAESTRO_TEST_EMAIL} | ||
| password: ${MAESTRO_TEST_PASSWORD} | ||
| - assertVisible: "New Works for You" | ||
| - killApp | ||
| - openLink: | ||
| link: https://www.artsy.net/artist/kaws | ||
| autoVerify: false | ||
| - assertVisible: "Kaws" | ||
| - killApp | ||
| - openLink: | ||
| link: https://click.artsy.net/f/a/epPWiX0dJaHHMiXAnSrzSg~~/AAQRxQA~/RgRj95QSP0SQaHR0cHM6Ly93d3cuYXJ0c3kubmV0L2NvbGxlY3Rpb24vYXVjdGlvbi1oaWdobGlnaHRzP3V0bV9zb3VyY2U9YnJhemUmdXRtX21lZGl1bT1lbWFpbCZ1dG1fY2FtcGFpZ249bnRmJnV0bV90ZXJtPTYyMTRmYjlkZWI0ZWZkN2RiNjBjZTcwNDk1NWU4NDQ1VwNzcGNCCmIFEg8VYlEJKGBSEmJyaWJlY2sxQGdtYWlsLmNvbVgEAAAAfw~~ | ||
| autoVerify: false | ||
| - assertVisible: "Highlights at Auction This Week" | ||
| - killApp | ||
| - openLink: | ||
| link: "https://email-link.artsy.net/ls/click?upn=u001.XPbk8dXjc6dwd18Yq2uPM3eTWB4YbDUmeJTAXXTF513sTSKEFRIPxrFgGj8gd2LN9AcRIza5p2-2Fi0huqjv6GWgdnpwA-2FRyTEIYA-2BT1-2F0josxHnYTzJpKeJEmkfzDQlMEY9y6FknqDddY-2BKmm5qtTrTIF2hxySbdUboaYf5ofK-2Bj-2FgSolzBiLvvzai-2FmvjWbSpNpJHWATexQixwLakesmmZUBoRoLkCnxs59pBxJPbB3JZyP13cv77lbfn1WzJ86fiW-2B5MQcd2qss7wLGBI-2BZuy-2FxDkbFuDzpfYPDlaUs1-2BuyO9rqleUCwXPEuyWXZ3aGJrh-_dWIRBTTKlL2IhQqV5a1Cy38Sd4xylePmkTfQkXpdWOLZbG0vcWuzG-2BSSjZ7xaSUgPR0lxFBD0Zz4mpyMqiSRd7GblcbPN8eH0NYfUK6pmADWc2UoFXyJdeq-2F-2BOyOeWlS7O-2FOrHgB9-2BOGtV1nkIFPq97vJTNmWtBMDOt77SsursARR1LHG7CnzBEedV5yll40aEh9LTjA47-2BfpvonTwdxvYfd6ZWsZN2uRczvCs34ipSKUClLSzq0xCn8IjAixssMm2IreBk6LmNzHPC1YLqmZ77pv0qTxX095mxh8mk7f9rJJ8Tg1fyfRFriXGsQqgHlY-2BqTf2aAU6LS9NVXirqdp20-2BHXhzUZbaCnkQNASABts91iKoZaDeV4xnYuuo3L-2F8" | ||
| autoVerify: false | ||
| - assertVisible: "The artwork you were looking for isn't available." |
This file contains hidden or 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,13 @@ | ||
| appId: ${MAESTRO_APP_ID} | ||
| --- | ||
| - launchApp: | ||
| clearState: false | ||
| arguments: | ||
| shouldSignOut: "true" | ||
| - assertVisible: "Sign up or log in" | ||
| - tapOn: "Email Input" | ||
| - inputText: ${MAESTRO_TEST_EMAIL} | ||
| - tapOn: "Continue.*" | ||
| - inputText: ${MAESTRO_TEST_PASSWORD} | ||
| - tapOn: "Continue.*" | ||
| - assertVisible: "New Works for You" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains hidden or 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,21 @@ | ||
| appId: ${MAESTRO_APP_ID} | ||
| --- | ||
| - launchApp: | ||
| clearState: false | ||
| arguments: | ||
| shouldSignOut: "true" | ||
| - runScript: | ||
| file: signup.js | ||
| - assertVisible: "Sign up or log in" | ||
| - tapOn: "Email Input" | ||
| - inputText: ${output.signup.email} | ||
| - tapOn: "Continue.*" | ||
| - assertVisible: "Welcome to Artsy" | ||
| - inputText: ${output.signup.password} | ||
| - tapOn: "Continue.*" | ||
| - inputText: "Test McTest" | ||
| - runFlow: | ||
| commands: | ||
| - tapOn: | ||
| point: 15%,36% | ||
| - tapOn: "Continue.*" | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
been there, done that 😢
I can help poking around our checkboxes to make them fully accessible to use with maestro if you want, I totally forgot about it 🫠
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 actually haven't tried updating this since way back, I think George made some changes here recently, will check if there is already a better way
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 did make the checkboxes accessible already
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 checked in maestro studio and still have the problem that all accessible touchables lead to link opening rather than checkbox getting checked, will take a look after this pr