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()