Skip to content

Commit

Permalink
Update selector
Browse files Browse the repository at this point in the history
  • Loading branch information
raethlein committed May 6, 2024
1 parent 86b13d1 commit 740df1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/specs/st_tooltips_2.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe("displays tooltips on text elements properly", () => {
});

it("Display text properly on tooltips on title", () => {
cy.getIndexed(`.stMarkdown .stTooltipIcon`, 3)
cy.getIndexed(`.stMarkdownContainer .stTooltipIcon`, 3)
.invoke("show")
.click();
cy.get("[data-testid=stMarkdownContainer]").should(
Expand All @@ -71,7 +71,7 @@ describe("displays tooltips on text elements properly", () => {
});

it("Display text properly on tooltips on header", () => {
cy.getIndexed(`.stMarkdown .stTooltipIcon`, 4)
cy.getIndexed(`.stMarkdownContainer .stTooltipIcon`, 4)
.invoke("show")
.click();
cy.get("[data-testid=stMarkdownContainer]").should(
Expand All @@ -81,7 +81,7 @@ describe("displays tooltips on text elements properly", () => {
});

it("Display text properly on tooltips on subheader", () => {
cy.getIndexed(`.stMarkdown .stTooltipIcon`, 5)
cy.getIndexed(`.stMarkdownContainer .stTooltipIcon`, 5)
.invoke("show")
.click();
cy.get("[data-testid=stMarkdownContainer]").should(
Expand Down

0 comments on commit 740df1a

Please sign in to comment.