This repository was archived by the owner on Jan 30, 2025. It is now read-only.
Clean the env db before running module tests locally#1408
Merged
circlecube merged 1 commit intodevelopfrom Nov 13, 2024
Merged
Conversation
Bluehost Brand Plugin
|
||||||||||||||||||||||||||||
| Project |
Bluehost Brand Plugin
|
| Branch Review |
add/test-clean-module
|
| Run status |
|
| Run duration | 29m 11s |
| Commit |
|
| Committer | A. Alani |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
3
|
|
|
36
|
|
|
0
|
|
|
427
|
| View all changes introduced in this branch ↗︎ | |
Bluehost Brand Plugin
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Project |
Bluehost Brand Plugin
|
| Branch Review |
add/test-clean-module
|
| Run status |
|
| Run duration | 30m 52s |
| Commit |
|
| Committer | wpalani |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
1
|
|
|
3
|
|
|
36
|
|
|
0
|
|
|
426
|
| View all changes introduced in this branch ↗︎ | |
Tests for review
vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/theme-search.cy.js • 1 failed test
| Test | Artifacts | |
|---|---|---|
| Theme Search > should not display non-matching theme search results |
Test Replay
Screenshots
Video
|
|
vendor/newfold-labs/wp-module-notifications/tests/cypress/integration/notifications.cy.js • 1 flaky test
| Test | Artifacts | |
|---|---|---|
| Notifications > Dismissing notification removes it from the page |
Test Replay
Screenshots
Video
|
|
vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/2-general-onboarding-flow/basic-info.cy.js • 1 flaky test
| Test | Artifacts | |
|---|---|---|
| Basic Info Page > Check Drawer Activity |
Test Replay
Screenshots
Video
|
|
vendor/newfold-labs/wp-module-onboarding/tests/cypress/integration/3-ecommerce-onboarding-flow/basic-info.cy.js • 1 flaky test
| Test | Artifacts | |
|---|---|---|
| Basic Info Page > Check Drawer Activity |
Test Replay
Screenshots
Video
|
|
circlecube
approved these changes
Nov 13, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
A new script for local development only
While working on modules, an issue often comes up is tests passing locally but not in the GH action, a big driver of that is the db on the GH action is fresh vs the one locally is not because of active development. This new script does the following:
wp-env stopwp-env clean allwp-env startnpm run test:clean-module -- <wp-module-name>Type of Change
Checklist
Further comments