Skip to content

[CI] Fix ios/android e2e tests #24974

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

Closed
wants to merge 1 commit into from
Closed

Conversation

nossbigg
Copy link
Contributor

@nossbigg nossbigg commented May 21, 2019

Summary

Fixes broken ios/android e2e tests for CI.

Changes:

  1. Use npm pack instead of yarn pack during e2e test
  2. Update test string assertions in ios/android e2e tests
  3. Use Step One as candidate for source code replacement to test for page changes (since the "Welcome to React Native" string exists in the Header component instead of being on App.js)

Changelog

[Internal] [Fixed] - Fix ios/android e2e tests

Test Plan

  1. ios/android e2e tests in CI stage should pass

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 21, 2019
@nossbigg nossbigg changed the title Fix ios/android e2e tests [CI] Fix ios/android e2e tests May 21, 2019
@react-native-bot react-native-bot added Platform: Android Android applications. Platform: iOS iOS applications. Bug labels May 21, 2019
@nossbigg nossbigg marked this pull request as ready for review May 21, 2019 06:46
@nossbigg nossbigg requested a review from hramos as a code owner May 21, 2019 06:46
Copy link
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

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

Thank you so much for contributing to React Native!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @nossbigg in 30a0a03.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label May 21, 2019
@nossbigg
Copy link
Contributor Author

I also verified that android e2e passes locally on my box. Let's see if we can re-enable android e2e on the CI :)

@nossbigg
Copy link
Contributor Author

@hramos i know you're trying to land #24972, should be safe to reinstate the ios e2e test on the CI 👍

vovkasm pushed a commit to vovkasm/react-native that referenced this pull request Aug 7, 2019
Summary:
Fixes broken ios/android e2e tests for CI.

Changes:
1. Use `npm pack` instead of `yarn pack` during e2e test
2. Update test string assertions in ios/android e2e tests
3. Use `Step One` as candidate for source code replacement to test for page changes (since the "Welcome to React Native" string exists in the `Header` component instead of being on `App.js`)

## Changelog

[Internal] [Fixed] - Fix ios/android e2e tests
Pull Request resolved: facebook#24974

Differential Revision: D15431539

Pulled By: cpojer

fbshipit-source-id: 054af2c2fff6bbdb2263c15d7f5cd416aaa507fd
(cherry picked from commit 30a0a03)
M-i-k-e-l pushed a commit to M-i-k-e-l/react-native that referenced this pull request Mar 10, 2020
Summary:
Fixes broken ios/android e2e tests for CI.

Changes:
1. Use `npm pack` instead of `yarn pack` during e2e test
2. Update test string assertions in ios/android e2e tests
3. Use `Step One` as candidate for source code replacement to test for page changes (since the "Welcome to React Native" string exists in the `Header` component instead of being on `App.js`)

## Changelog

[Internal] [Fixed] - Fix ios/android e2e tests
Pull Request resolved: facebook#24974

Differential Revision: D15431539

Pulled By: cpojer

fbshipit-source-id: 054af2c2fff6bbdb2263c15d7f5cd416aaa507fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: Android Android applications. Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants