manager icon indicating copy to clipboard operation
manager copied to clipboard

test: [M3-9859] - Fix Cypress LKE Create Test Failures

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

Description ๐Ÿ“

Found the root cause of LKE create test failures, which is due to missing capacity of account availability.

Changes ๐Ÿ”„

List any change(s) relevant to the reviewer.

  • Add mockGetAccountAvailability() before each test.

How to test ๐Ÿงช

 pnpm cy:run -s "cypress/e2e/core/kubernetes/lke-create.spec.ts,cypress/e2e/core/kubernetes/smoke-lke-create.spec.ts"

cliu-akamai avatar Jun 16 '25 18:06 cliu-akamai

@cliu-akamai see my Jira comment from last week for more context, but this should be fixed by #12378 which took a slightly different approach by modifying chooseRegion so that it doesn't return regions that don't have availability for the specified capabilities. Let me know if you have any questions!

jdamore-linode avatar Jun 16 '25 18:06 jdamore-linode

@cliu-akamai see my Jira comment from last week for more context, but this should be fixed by #12378 which took a slightly different approach by modifying chooseRegion so that it doesn't return regions that don't have availability for the specified capabilities. Let me know if you have any questions!

OK, I will close this PR.

cliu-akamai avatar Jun 20 '25 14:06 cliu-akamai