Skip to content

test: Improve E2E test consistency#6313

Merged
dcalhoun merged 2 commits into
version-toolkit/gutenberg/rnmobile/appium-2from
test/improve-e2e-test-consistency
Oct 24, 2023
Merged

test: Improve E2E test consistency#6313
dcalhoun merged 2 commits into
version-toolkit/gutenberg/rnmobile/appium-2from
test/improve-e2e-test-consistency

Conversation

@dcalhoun

Copy link
Copy Markdown
Member

Avoid setup scripts during test runs to mirror changes in
WordPress/gutenberg#55554.

To test:

  • Verify the npm run core test:e2e:setup command succeeds when run.
  • Verify the npm run test:e2e:ios:local command does not throw errors.
  • Verify the npm run test:e2e:android:local command does not throw errors.

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes more info and have added them to RELEASE-NOTES.txt if necessary.

There may be clarity and efficiency by having an explicit setup script.
It was avoid running unnecessary scripts during test runs. It is also
referenced in the current documentation as a script to run
intentionally.
@dcalhoun dcalhoun added the Testing Anything related to automated tests label Oct 23, 2023
@dcalhoun dcalhoun marked this pull request as ready for review October 23, 2023 20:10
@dcalhoun dcalhoun requested a review from geriux October 23, 2023 20:10
@dcalhoun dcalhoun force-pushed the test/improve-e2e-test-consistency branch from aa22694 to 185c24c Compare October 23, 2023 23:50

@geriux geriux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! The CI check that failed is related to a flaky test and not because of these changes 🚀

@dcalhoun dcalhoun merged commit 1a47527 into version-toolkit/gutenberg/rnmobile/appium-2 Oct 24, 2023
@dcalhoun dcalhoun deleted the test/improve-e2e-test-consistency branch October 24, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing Anything related to automated tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants