Skip to content
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

Introduce restricted support in RN .58+ for Android #1416

Closed
wants to merge 3 commits into from
Closed

Conversation

d4vidi
Copy link
Collaborator

@d4vidi d4vidi commented May 30, 2019


Description:

Introduce required changes in order to have our demo app test suite successfully run on Android (with the necessary restrictions introduced by the RN issue).

  • Documentation will follow.
  • We nevertheless have to upgrade our visibility matcher in order to work around the RN issue, even though it's far from trivial.
  • This does not include an upgrade to the example projects.

@d4vidi d4vidi self-assigned this May 30, 2019
await expect(element(by.id('deletedFromHierarchyText'))).toBeVisible();
await element(by.id('GoButton')).tap();
await waitFor(element(by.id('deletedFromHierarchyText'))).toBeNotVisible().withTimeout(20000);
await expect(element(by.id('deletedFromHierarchyText'))).toBeNotVisible();
});

it('should find element by scrolling until it is visible', async() => {
custom.it.withFailureIf.android.rn58OrNewer('should find element by scrolling until it is visible', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the point of this if we know it will fail anyway? We will be running the RN59 suite from now on, on both iOS and Android. Why not just close it off for Android until we have a proper fix?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is so we'd know when (if) they decide to get it fixed.

@d4vidi d4vidi force-pushed the rn59 branch 2 times, most recently from 6e73cbb to 84a6f64 Compare June 2, 2019 09:05
@d4vidi d4vidi closed this Jun 2, 2019
@d4vidi d4vidi reopened this Jun 2, 2019
@d4vidi d4vidi closed this Jun 2, 2019
@d4vidi d4vidi mentioned this pull request Jun 2, 2019
2 tasks
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants