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

Continue migrating E2E tests to Cypress. #1070

Merged
merged 34 commits into from
Jun 14, 2023

Conversation

peterwilsoncc
Copy link
Collaborator

@peterwilsoncc peterwilsoncc commented Jun 7, 2023

Description of the Change

Continue with migration of E2E tests from WPA to Cypress.

Closes #1038

How to test the Change

Changelog Entry

Changed - Migrated E2E tests to Cypress.

Credits

Props @peterwilsoncc

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@peterwilsoncc peterwilsoncc changed the title Do/1038 cypress migration Continue migrating E2E tests to Cypress. Jun 7, 2023
@peterwilsoncc peterwilsoncc force-pushed the do/1038-cypress-migration branch from eaa9e8a to cc2964f Compare June 7, 2023 01:34
@peterwilsoncc peterwilsoncc force-pushed the do/1038-cypress-migration branch from f138e78 to 8ca7479 Compare June 7, 2023 03:15
@peterwilsoncc peterwilsoncc force-pushed the do/1038-cypress-migration branch from 9153f1d to b0c83a2 Compare June 8, 2023 01:59
@peterwilsoncc peterwilsoncc self-assigned this Jun 8, 2023
@peterwilsoncc peterwilsoncc marked this pull request as ready for review June 9, 2023 02:45
@peterwilsoncc peterwilsoncc requested review from jeffpaul and a team as code owners June 9, 2023 02:45
@@ -17,6 +17,7 @@ body.dt-linked-post {
cursor: default;
}

.edit-post-welcome-guide,
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 change is to allow cy.closeWelcomeGuide(); to run by re-enabling pointer events on the modal. Without them, Cypress declines to click on the element because it's unclickable.

@peterwilsoncc peterwilsoncc requested a review from ravinderk June 9, 2023 02:47
@peterwilsoncc peterwilsoncc added this to the 2.0.0 milestone Jun 9, 2023
@jeffpaul jeffpaul removed their request for review June 9, 2023 16:43
Copy link
Member

@iamdharmesh iamdharmesh left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the great work and efforts here @peterwilsoncc. LGTM!! 🚀

Comment on lines +60 to +62
// This test is temporarily disabled due to failures in GitHub actions that are not reproducible locally.
// On GitHub the success message expected within the cy.distributorPushPost command is not found as the
// distribution fails with an undefined error.
Copy link
Member

Choose a reason for hiding this comment

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

Should we open an issue for this to tackle in the future?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've logged #1076 for follow up.

@peterwilsoncc peterwilsoncc merged commit 211e14d into develop Jun 14, 2023
@peterwilsoncc peterwilsoncc deleted the do/1038-cypress-migration branch June 14, 2023 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Cypress e2e test coverage
2 participants