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

tool/117: add Cypress tests #116

Merged
merged 14 commits into from
Apr 18, 2022
Merged

tool/117: add Cypress tests #116

merged 14 commits into from
Apr 18, 2022

Conversation

Sidsector9
Copy link
Member

@Sidsector9 Sidsector9 commented Mar 22, 2022

Description

  • Added Cypress test which tests the insertion of a special character in the editor, and verifies it with the front-end.
  • Addresses all points from the checklist in the issue.
  • Also bumped up minimum WordPress version from 5.2 to 5.4. The plugin from WP plugins repo doesn't work on WP 5.2.

Closes #117

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Changelog Entry

Credits

Props @Sidsector9 @iamdharmesh

@Sidsector9 Sidsector9 changed the title [WIP] tool: add Cypress tests tool: add Cypress tests Mar 22, 2022
@Sidsector9 Sidsector9 changed the title tool: add Cypress tests tool/117: add Cypress tests Mar 22, 2022
@Sidsector9 Sidsector9 self-assigned this Mar 22, 2022
@Sidsector9 Sidsector9 requested review from a team and iamdharmesh and removed request for a team March 23, 2022 08:09
Comment on lines 37 to 38
- name: Set permissions
run: ./tests/bin/initialize.sh
Copy link
Member

Choose a reason for hiding this comment

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

As we have postenv:start script, I believe this is already running after env:start.

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.

@Sidsector9 Thanks for the great work here. just added minor comments to check.

composer.json Outdated
Comment on lines 16 to 18
"scripts": {
"test:acceptance": "wpacceptance run"
}
Copy link
Member

Choose a reason for hiding this comment

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

We may remove this as well.

@jeffpaul jeffpaul added this to the 1.1.0 milestone Mar 24, 2022
@Sidsector9 Sidsector9 requested a review from iamdharmesh March 27, 2022 14:20
iamdharmesh
iamdharmesh previously approved these changes Mar 28, 2022
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 for the great work here @Sidsector9.

@Sidsector9 Sidsector9 mentioned this pull request Apr 2, 2022
6 tasks
@jeffpaul
Copy link
Member

@Sidsector9 looks like a merge conflict, if you can help resolve then we can get this merged in, thanks!

@Sidsector9
Copy link
Member Author

@jeffpaul the tests have started failing for WP trunk for some reason. I'll address it first.

Copy link
Member

@jeffpaul jeffpaul left a comment

Choose a reason for hiding this comment

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

:shipit:

@jeffpaul jeffpaul merged commit 3bdaff5 into develop Apr 18, 2022
@jeffpaul jeffpaul deleted the cypress-e2e branch April 18, 2022 17:05
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 tests
3 participants