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

Slight improvements to e2e test setup #1560

Merged
merged 9 commits into from
May 8, 2020
Merged

Slight improvements to e2e test setup #1560

merged 9 commits into from
May 8, 2020

Conversation

swissspidy
Copy link
Collaborator

@swissspidy swissspidy commented May 5, 2020

See #1476 for docs.

This PR mainly adds some fixtures and bug fixes to the e2e tests.

@github-actions

This comment has been minimized.

@swissspidy swissspidy added the Type: Infrastructure Changes impacting testing infrastructure or build tooling label May 5, 2020
@codecov

This comment has been minimized.

@swissspidy swissspidy force-pushed the add/e2e-tests branch 2 times, most recently from bc80957 to 7a475a0 Compare May 6, 2020 14:12
@swissspidy swissspidy changed the title Try adding some e2e tests & refine setup Slight improvements to e2e test setup May 6, 2020
@swissspidy
Copy link
Collaborator Author

@dvoytenko Any objections to merging this? Helps me with improving the docs around testing (#1476).

@swissspidy swissspidy requested a review from dvoytenko May 6, 2020 14:25
@swissspidy swissspidy marked this pull request as ready for review May 6, 2020 14:25
@swissspidy
Copy link
Collaborator Author

Hmm Firefox currently seems to be hanging at the end due to usePreventWindowUnload, despite us using enablePageDialogAccept in beforeAll (which does page.on('dialog', (dialog) => dialog.accept())

@swissspidy swissspidy force-pushed the add/e2e-tests branch 2 times, most recently from 44ad9a8 to 9cbc89f Compare May 6, 2020 16:06
Copy link
Contributor

@dvoytenko dvoytenko left a comment

Choose a reason for hiding this comment

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

Hmm Firefox currently seems to be hanging at the end due to usePreventWindowUnload, despite us using enablePageDialogAccept in beforeAll (which does page.on('dialog', (dialog) => dialog.accept())

Those will be disablable with #1176

bin/local-env/install-wordpress.sh Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@swissspidy

This comment has been minimized.

Copy link
Contributor

@dvoytenko dvoytenko left a comment

Choose a reason for hiding this comment

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

LGTM with one issue

tests/e2e/specs/media/insertMediaFromLibrary.js Outdated Show resolved Hide resolved
@swissspidy swissspidy merged commit 53747dc into master May 8, 2020
@swissspidy swissspidy deleted the add/e2e-tests branch May 8, 2020 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Infrastructure Changes impacting testing infrastructure or build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants