Frontend Tech Debt: Fix teamflow.spec failing in GH (#7770)

This commit is contained in:
RachelElysia 2022-09-16 09:24:10 -04:00 committed by GitHub
parent 2a99beb2dd
commit 0a978e3446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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