Skip to content

Commit

Permalink
test: [M3-7367] - Improve Cypress Rescue & Rebuild Test Flake (#9867)
Browse files Browse the repository at this point in the history
* Mock user preferences requests when testing Linode landing page summary view

* Refactor rebuild tests, improve flakiness by improving navigation flow

* Use new factory data for each request to prevent label conflicts

* Rename Linode utils

* Use mocks for rescue error test, wait for Linode to boot using UI rather than polling
  • Loading branch information
jdamore-linode authored Nov 3, 2023
1 parent d47fdc5 commit 318c6a6
Show file tree
Hide file tree
Showing 9 changed files with 415 additions and 159 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-9867-tests-1698944917115.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Improve Cypress rescue and rebuild test stability ([#9867](https://github.com/linode/manager/pull/9867))
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import {
createLinodeAndGetConfig,
createAndBootLinode,
} from 'support/util/linode-utils';
} from 'support/util/linodes';

import type { Config, Linode } from '@linode/api-v4';

Expand Down
Loading

0 comments on commit 318c6a6

Please sign in to comment.