8000 Fix e2e ios tests by janicduplessis · Pull Request #6613 · rainbow-me/rainbow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix e2e ios tests #6613

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 11 commits into from
May 12, 2025
Merged

Fix e2e ios tests #6613

merged 11 commits into from
May 12, 2025

Conversation

janicduplessis
Copy link
Contributor
@janicduplessis janicduplessis commented May 6, 2025

Fixes APP-####

What changed (plus any additional context for devs)

This fixes the exit code of the iOS e2e script so it fails the github action properly. This also makes some adjustments to the tests so they pass on iOS.

Screen recordings / screenshots

What to test

Tests pass

@janicduplessis janicduplessis changed the title Fix e2e ios exit code Fix e2e ios tests May 7, 2025
@janicduplessis janicduplessis force-pushed the @janic/fix-ios-tests branch 3 times, most recently from 0766451 to 8ee74e3 Compare May 8, 2025 01:16
@janicduplessis janicduplessis marked this pull request as ready for review May 8, 2025 22:07

echo "Waiting 5 seconds for Anvil to start..."

# Start Anvil in the background (show logs in terminal + save to file)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved starting anvil when running all tests here, instead of in the ci script to make it easier to run locally.

@brunobar79
Copy link
Contributor

Launch in simulator or device for 6ab0aea

@brunobar79
Copy link
Contributor

Launch in simulator or device for 4faca7a

@brunobar79
Copy link
Contributor

Launch in simulator or device for 2262d95

@janicduplessis janicduplessis force-pushed the @janic/fix-ios-tests branch from 95877c9 to cca779c Compare May 9, 2025 15:20
@janicduplessis janicduplessis force-pushed the @janic/fix-ios-tests branch from 5bf1e94 to f7723e1 Compare May 9, 2025 15:57
@brunobar79
Copy link
8000
Contributor

Launch in simulator or device for 2d09ed2

Copy link
Member
@BrodyHughes BrodyHughes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything lgtm!

@@ -40,6 +40,26 @@ It is recommended that those commands are extracted to a flow for reuse. See `e2

### Troubleshooting

#### Cannot find view with a testID on iOS

On iOS `testID` is implemented using `accessibilityIdentifier`. If a parent view is marked as `accessible=true` then it is considered a leaf node and its children `accessibilityIdentifier` won't be visible. Try moving the `testID` up to the accessible view or making the view not accessible if it makes sense in that case. Note that `ButtonPressAnimation` defaults to `accessible=true`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is really nice to document, ty.

@brunobar79
Copy link
Contributor

Launch in simulator or device for 58c6b76

@brunobar79
Copy link
Contributor

Launch in simulator or device for 39a4047

@brunobar79
Copy link
Contributor

Launch in simulator or device for 37e9c3e

@brunobar79
Copy link
Contributor

Launch in simulator or device for 81b10c7

@brunobar79
Copy link
Contributor

Launch in simulator or device for 732e28e

@janicduplessis janicduplessis merged commit b505f04 into develop May 12, 2025
9 checks passed
@janicduplessis janicduplessis deleted the @janic/fix-ios-tests branch May 12, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0