Skip to content

Add Cypress E2E testing framework#17

Merged
jeffpaul merged 3 commits into
developfrom
feature/1-e2e-framework
May 31, 2024
Merged

Add Cypress E2E testing framework#17
jeffpaul merged 3 commits into
developfrom
feature/1-e2e-framework

Conversation

@dkotter
Copy link
Copy Markdown
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
Comment thread .github/workflows/e2e.yml
matrix:
core:
- {name: 'WP latest', version: 'latest'}
- {name: 'WP minimum', version: 'WordPress/WordPress#6.0'}
Copy link
Copy Markdown
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
@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