From 0a978e3446e5c7be62fd537bef5181b59017eebb Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Fri, 16 Sep 2022 09:24:10 -0400 Subject: [PATCH] Frontend Tech Debt: Fix teamflow.spec failing in GH (#7770) --- cypress/integration/premium/teamflow.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/integration/premium/teamflow.spec.ts b/cypress/integration/premium/teamflow.spec.ts index a67f2bb6da..dd76b48427 100644 --- a/cypress/integration/premium/teamflow.spec.ts +++ b/cypress/integration/premium/teamflow.spec.ts @@ -15,7 +15,9 @@ describe("Teams flow (empty)", () => { }); it("creates a new team", () => { cy.getAttached(".no-teams").within(() => { - cy.contains("button", /create team/i).click(); + cy.getAttached(".no-teams__inner-text").within(() => { + cy.contains("button", /create team/i).click(); + }); }); cy.findByLabelText(/team name/i) .click()