test: [M3-8146] - Cypress tests for refactored Linode Create via CLI flow
Description ๐
Refactor Cypress test to the flow of creating Linode through CLI.
Major Changes ๐
- Refactor Cypress test that creates Linode through CLI.
How to test ๐งช
yarn cy:run -s "cypress/e2e/core/linodes/legacy-create-linode.spec.ts"
Coverage Report: โ
Base Coverage: 82.41%
Current Coverage: 82.41%
This PR is stale because it has been open 15 days with no activity. Please attend to this PR or it will be closed in 5 days
Here's the code that detects the event and triggers the redirect:
https://github.com/linode/manager/blob/14b02430623d770ddb6c60ac91957aec4863ed88/packages/manager/src/features/Linodes/LinodesCreate/ApiAwarenessModal/ApiAwarenessModal.tsx#L64-L69
We can try mocking this instead of manually executing the curl command.
@cliu-akamai
This PR is stale because it has been open 15 days with no activity. Please attend to this PR or it will be closed in 5 days