Skip to content

Commit

Permalink
test: fix remaining cypress tests looking for "section-header-title" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 committed Jan 16, 2024
1 parent 94531de commit a07fe69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/with-users/images/list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ context("Images list", () => {
});

it("renders the correct heading", () => {
cy.get("[data-testid='section-header-title']").contains("Images");
cy.get("[data-testid='main-toolbar-heading']").contains("Images");
});
});
2 changes: 1 addition & 1 deletion cypress/e2e/with-users/kvm/list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ context("KVM listing", () => {
});

it("renders the correct heading", () => {
cy.get("[data-testid='section-header-title']").contains("LXD");
cy.get("[data-testid='main-toolbar-heading']").contains("LXD");
});
});
2 changes: 1 addition & 1 deletion cypress/e2e/with-users/zones/list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ context("Zones", () => {
});

it("renders the correct heading", () => {
cy.get("[data-testid='section-header-title']").contains(
cy.get("[data-testid='main-toolbar-heading']").contains(
"Availability zones"
);
});
Expand Down

0 comments on commit a07fe69

Please sign in to comment.