From 0b73f8096b5290e5c6f71dd81a7e60bb971f6ed3 Mon Sep 17 00:00:00 2001 From: Joe D'Amore Date: Tue, 24 Sep 2024 12:21:11 -0400 Subject: [PATCH 1/2] Ensure Cypress waits for Linode to be deleted before proceeding with test --- .../cypress/e2e/core/linodes/smoke-delete-linode.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/manager/cypress/e2e/core/linodes/smoke-delete-linode.spec.ts b/packages/manager/cypress/e2e/core/linodes/smoke-delete-linode.spec.ts index 5520041418f..8eaec582df7 100644 --- a/packages/manager/cypress/e2e/core/linodes/smoke-delete-linode.spec.ts +++ b/packages/manager/cypress/e2e/core/linodes/smoke-delete-linode.spec.ts @@ -48,7 +48,7 @@ const deleteLinodeFromActionMenu = (linodeLabel: string) => { }); cy.wait('@deleteLinode').its('response.statusCode').should('eq', 200); - cy.findByText(linodeLabel).should('not.exist'); + cy.findAllByText(linodeLabel).should('not.exist'); }; const preferenceOverrides = { From f6107a7f1471632ae96707efaa4b4bfe94f8df14 Mon Sep 17 00:00:00 2001 From: Joe D'Amore Date: Tue, 24 Sep 2024 12:47:30 -0400 Subject: [PATCH 2/2] Added changeset: Address Linode deletion test flakiness --- packages/manager/.changeset/pr-10999-tests-1727196449912.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/manager/.changeset/pr-10999-tests-1727196449912.md diff --git a/packages/manager/.changeset/pr-10999-tests-1727196449912.md b/packages/manager/.changeset/pr-10999-tests-1727196449912.md new file mode 100644 index 00000000000..fb35606582c --- /dev/null +++ b/packages/manager/.changeset/pr-10999-tests-1727196449912.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Tests +--- + +Address Linode deletion test flakiness ([#10999](https://github.com/linode/manager/pull/10999))