manager icon indicating copy to clipboard operation
manager copied to clipboard

test [UIE-9584]: Another fix for create-stackscripts flakiness

Open dmcintyr-akamai opened this issue 2 months ago • 1 comments

Description 📝

Another fix for another cause of intermittent test failure in create-stackscripts.spec.ts

Changes 🔄

Test could fail if 'Gentoo' image was selected bc the image label was the same as the category label, so the image itself was never clicked on.

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • [ ] All customers
  • [ ] Some customers (e.g. in Beta or Limited Availability)
  • [x] No customers / Not applicable

How to test 🧪

pnpm run cy:run -s cypress/e2e/core/stackscripts/create-stackscripts.spec.ts

Reproduction steps

(How to reproduce the issue, if applicable)

You can repro this bug in a test environment by hardcoding the selected image to 'Gentoo'.

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 tests and CI checks are passing
  • [x] TypeScript compilation succeeded without errors
  • [x] Code passes all linting rules

dmcintyr-akamai avatar Nov 13 '25 21:11 dmcintyr-akamai

Cloud Manager UI test results

:small_red_triangle: 22 failing tests on test run #6 ↗︎

:x: Failing:white_check_mark: Passing:arrow_right_hook: Skipped:clock1: Duration
22 Failing840 Passing11 Skipped92m 34s

Details

Failing Tests
SpecTest
:x:delete-volume.spec.tsCloud Manager Cypress Tests→volume delete flow » deletes a volume
:x:machine-image-upload.spec.tsCloud Manager Cypress Tests→machine image » uploads machine image, mock failed to decompress failed event
:x:machine-image-upload.spec.tsCloud Manager Cypress Tests→machine image » uploads machine image, mock expired upload event
:x:linode-storage.spec.tsCloud Manager Cypress Tests→linode storage tab » deletes a disk when Linode Disk Encryption is enabled
:x:linode-storage.spec.tsCloud Manager Cypress Tests→linode storage tab » add a disk
:x:linode-storage.spec.tsCloud Manager Cypress Tests→linode storage tab » resize disk
:x:migrate-linode-with-firewall.spec.tsCloud Manager Cypress Tests→Migrate Linode With Firewall » migrates linode with firewall - real data
:x:linode-config.spec.tsCloud Manager Cypress Tests→Linode Config management→End-to-End » Clones a config
:x:resize-linode.spec.tsCloud Manager Cypress Tests→resize linode » resizes a linode by increasing size: warm migration
:x:resize-linode.spec.tsCloud Manager Cypress Tests→resize linode » resizes a linode by increasing size: cold migration
:x:resize-linode.spec.tsCloud Manager Cypress Tests→resize linode » resizes a linode by decreasing size
:x:attach-volume.spec.tsCloud Manager Cypress Tests→volume attach and detach flows » attaches a volume to a Linode
:x:smoke-create-image.spec.tsCloud Manager Cypress Tests→create image (using mocks) » create image from a linode
:x:upgrade-volume.spec.tsCloud Manager Cypress Tests→volume upgrade/migration » can upgrade an unattached volume to NVMe
:x:upgrade-volume.spec.tsCloud Manager Cypress Tests→volume upgrade/migration » can upgrade an attached volume from the volumes landing page
:x:upgrade-volume.spec.tsCloud Manager Cypress Tests→volume upgrade/migration » can upgrade an attached volume from the linode details page
:x:create-database.spec.tsCloud Manager Cypress Tests→create a database cluster, mocked data » creates a g6-nanode-1 MySQL v8.x 1-node cluster
:x:create-database.spec.tsCloud Manager Cypress Tests→create a database cluster, mocked data » creates a g6-dedicated-2 MySQL v8.x 2-node cluster
:x:create-database.spec.tsCloud Manager Cypress Tests→create a database cluster, mocked data » creates a g6-dedicated-2 MySQL v5.x 3-node cluster
:x:create-database.spec.tsCloud Manager Cypress Tests→create a database cluster, mocked data » creates a g6-nanode-1 PostgreSQL v13.x 3-node cluster
:x:create-database.spec.tsCloud Manager Cypress Tests→create a database cluster, mocked data » creates a g7-premium-2 MySQL v8.x 1-node cluster
:x:create-database.spec.tsCloud Manager Cypress Tests→create a database cluster, mocked data » creates a g7-premium-2 MySQL v8.x 3-node cluster

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/volumes/delete-volume.spec.ts,cypress/e2e/core/images/machine-image-upload.spec.ts,cypress/e2e/core/linodes/linode-storage.spec.ts,cypress/e2e/core/firewalls/migrate-linode-with-firewall.spec.ts,cypress/e2e/core/linodes/linode-config.spec.ts,cypress/e2e/core/linodes/resize-linode.spec.ts,cypress/e2e/core/volumes/attach-volume.spec.ts,cypress/e2e/core/images/smoke-create-image.spec.ts,cypress/e2e/core/volumes/upgrade-volume.spec.ts,cypress/e2e/core/databases/create-database.spec.ts"

linode-gh-bot avatar Dec 03 '25 16:12 linode-gh-bot