tests: [M3-10071] - aclpBetaServices smokeTests
Description ๐
Verify that the upgrade/downgrade banner is not visible when the aclpBetaServices.alerts or aclpBetaServices.metrics feature flag is disabled, regardless of what the user preference is.
Changes ๐
4 new tests:
- isAclpAlertsBeta = false
- isAclpAlertsBeta = true
- isAclpMetricsBeta = false
- isAclpMetricsBeta = true
In each of these tests no upgrade or downgrade banner is displayed, and the user can't toggle to/from the beta.
How to test ๐งช
pnpm run cy:run -s /cypress/e2e/core/cloudpulse/feature-flag-disabled.spec.ts
Author Checklists
As an Author, to speed up the review process, I considered ๐ค
๐ Doing a self review โ Our contribution guidelines ๐ค Splitting feature into small PRs โ Adding a changeset ๐งช Providing/improving test coverage ๐ Removing all sensitive information from the code and PR description ๐ฉ Using a feature flag to protect the release ๐ฃ Providing comprehensive reproduction steps ๐ Providing or updating our documentation ๐ Scheduling a pair reviewing session ๐ฑ Providing mobile support โฟ Providing accessibility support
- [x] I have read and considered all applicable items listed above.
As an Author, before moving this PR from Draft to Open, I confirmed โ
- [x] All unit tests are passing
- [x] TypeScript compilation succeeded without errors
- [x] Code passes all linting rules
heads up, looks like there's a type error in feature-flag-disabled.spec.ts that led to the test file being unable to run now
Failing integratin test passes for me now. And typechecking has no errors as well.
heads up, looks like there's a type error in
feature-flag-disabled.spec.tsthat led to the test file being unable to run now
fixed
Cloud Manager UI test results
:small_red_triangle: 1 failing test on test run #33 โ๏ธ
| :x: Failing | :white_check_mark: Passing | :arrow_right_hook: Skipped | :clock1: Duration |
1 Failing | 674 Passing | 4 Skipped | 134m 29s |
Details
| Failing Tests | ||
|---|---|---|
| Spec | Test | |
| :x: | lke-create.spec.ts | Cloud Manager Cypress TestsโLKE Cluster Creation with LKE-Eโshows the LKE-E flow with the feature flag on ยป LKE Cluster Creation with LKE-Eโshows the LKE-E flow with the feature flag on |
Troubleshooting
Use this command to re-run the failing tests:
pnpm cy:run -s "cypress/e2e/core/kubernetes/lke-create.spec.ts"