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

Add Cypress E2E testing framework #17

Merged
merged 3 commits into from
May 31, 2024
Merged

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented May 30, 2024

Description of the Change

This PR adds in a new GitHub Action Workflow to run Cypress E2E tests. In addition, the framework needed to run these tests has been added, including the installation of Cypress and wp-env. At the moment there's only a single, simple test, that ensures you can log in and activate the plugin. More tests can be added in the future as needed / desired.

Solves one of the issues reported in #1 but there's remaining items, so this PR won't close out that Issue

How to test the Change

Ensure the E2E workflow passes on this PR

Changelog Entry

Added - Cypress E2E framework and associated GitHub Action Workflow

@dkotter dkotter added this to the 1.6.0 milestone May 30, 2024
@dkotter dkotter self-assigned this May 30, 2024
@dkotter dkotter requested a review from jeffpaul May 30, 2024 22:32
@dkotter dkotter changed the title Add basic Cypress E2E testing framework Add Cypress E2E testing framework May 30, 2024
matrix:
core:
- {name: 'WP latest', version: 'latest'}
- {name: 'WP minimum', version: 'WordPress/WordPress#6.0'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Noting that this might need to be bumped up/down depending on where the plugin WP minimum lands in #1

@jeffpaul jeffpaul merged commit 14529f6 into develop May 31, 2024
4 checks passed
@vikrampm1 vikrampm1 mentioned this pull request Jun 26, 2024
23 tasks
@jeffpaul jeffpaul deleted the feature/1-e2e-framework branch July 1, 2024 18:59
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.

2 participants