test: [M3-9859] - Fix Cypress LKE Create Test Failures
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 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!
@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
chooseRegionso 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.