manager icon indicating copy to clipboard operation
manager copied to clipboard

tests: [M3-10071] - aclpBetaServices smokeTests

Open dmcintyr-akamai opened this issue 7 months ago โ€ข 1 comments

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:

  1. isAclpAlertsBeta = false
  2. isAclpAlertsBeta = true
  3. isAclpMetricsBeta = false
  4. 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

dmcintyr-akamai avatar Jun 02 '25 18:06 dmcintyr-akamai

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

coliu-akamai avatar Jun 23 '25 13:06 coliu-akamai

Failing integratin test passes for me now. And typechecking has no errors as well.

dmcintyr-akamai avatar Jun 25 '25 14:06 dmcintyr-akamai

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

fixed

dmcintyr-akamai avatar Jun 26 '25 18:06 dmcintyr-akamai

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 Failing674 Passing4 Skipped134m 29s

Details

Failing Tests
SpecTest
:x:lke-create.spec.tsCloud 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"

linode-gh-bot avatar Jul 02 '25 21:07 linode-gh-bot