Skip to content

[RNMobile] Use npm install in React Native e2e tests#35111

Merged
fluiddot merged 1 commit intotrunkfrom
rnmobile/fix/e2e-tests-npm-install
Sep 24, 2021
Merged

[RNMobile] Use npm install in React Native e2e tests#35111
fluiddot merged 1 commit intotrunkfrom
rnmobile/fix/e2e-tests-npm-install

Conversation

@fluiddot
Copy link
Copy Markdown
Contributor

@fluiddot fluiddot commented Sep 24, 2021

Description

React Native e2e tests are failing constantly on different branches (including trunk) when installing dependencies, so we decided to replace the command used from npm ci to npm install which looks like to address the issue. However, I'd like to note that this is a temporary solution, the goal is to address this by the changes from the PR: #34886

How has this been tested?

Verify that all PR check passes 🟢 .

Screenshots

N/A

Types of changes

Bug fix

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).

@fluiddot fluiddot added [Type] Bug An existing feature does not function as intended Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels Sep 24, 2021
@fluiddot fluiddot self-assigned this Sep 24, 2021
@fluiddot fluiddot requested a review from ceyhun September 24, 2021 12:25
Copy link
Copy Markdown
Member

@ceyhun ceyhun left a comment

Choose a reason for hiding this comment

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

LGTM 👍 React Native E2E Tests (iOS)/(Android) seem to be already failing on trunk, should be good if they pass right now.

@fluiddot
Copy link
Copy Markdown
Contributor Author

fluiddot commented Sep 24, 2021

Both React Native E2E tests didn't get the NPM cache and passed 🟢 🎊 :

@fluiddot fluiddot merged commit 4f0a24f into trunk Sep 24, 2021
@fluiddot fluiddot deleted the rnmobile/fix/e2e-tests-npm-install branch September 24, 2021 13:43
@github-actions github-actions bot added this to the Gutenberg 11.7 milestone Sep 24, 2021
fluiddot added a commit that referenced this pull request Sep 28, 2021
fluiddot added a commit that referenced this pull request Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants