-
Notifications
You must be signed in to change notification settings - Fork 357
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
test: [M3-7320] - De-Parameterize Cypress Domain Record Create Tests #10615
Conversation
Coverage Report: ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test passed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/manager/cypress/e2e/core/domains/smoke-create-domain-records.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/domains/smoke-create-domain-records.spec.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @carrillo-erik! Especially appreciate the clean-up: replacing the deprecated helpers, improving const names, etc.
Description 📝
The domain record tests in
smoke-create-domain-records.spec.ts
are parameterized against an array containing 5 items (each item representing a domain record type that can be created). This PR combines the tests into a single test which attempts to create each type of record as a result. By reducing the number of tests from 5 to 1, it results in a more performant solution (cuts test run time in half).Changes 🔄
List any change relevant to the reviewer.
Target release date 🗓️
2024/07/08
Preview 📷
How to test 🧪
Verification steps
yarn cy:debug
then run thesmoke-create-domain-records.spec.ts
test in the browser.yarn cy:run -s "cypress/e2e/core/domains/smoke-create-domain-records.spec.ts"
As an Author I have considered 🤔
Check all that apply