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

As a QA engineer, I'd like smoke test to capture license failure in the release zip #171

Open
Mai-Saad opened this issue Nov 20, 2024 · 0 comments

Comments

@Mai-Saad
Copy link
Contributor

On e2e sites, we usually have license data key and email already defined in wp-config, so if the zip has a problem with the license, e2e will never catch that now.

usually, when running on branch zip, we won't have license data in zip and will depend on wp-config.

Proposed solution:
=> Having a
test to remove the key/email from wp-config in precondition
=> Test run to install, activate WPR and access the settings page ==> no problem is there (thus no license issue and if license issue is there log error and fail if fields are empty, o.w click validate button on license validation page)
=> Test run only when tag @prerelease is used
=> When tag @prerelease is used, we need to run this test + smoke test with single cmd i.e npm run test:prerelease
=> After the test, we need to add back the key/email that was removed (so any run on PR works smoothly)

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

No branches or pull requests

1 participant