Skip to content

Commit

Permalink
highlight.cy
Browse files Browse the repository at this point in the history
  • Loading branch information
binrysearch committed Sep 10, 2024
1 parent b49fc32 commit 19447e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/packages/tour/highlight.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ context("Highlight", () => {
let sp = cy.spy(window, "click");

cy.nextStep();
cy.wait(500);
cy.get(".introjs-tooltiptext").contains("step two");

cy.get(".introjs-helperLayer").realHover();
Expand All @@ -78,6 +79,7 @@ context("Highlight", () => {
})
.start();

cy.wait(500);
let sp = cy.spy(window, "click");

cy.get(".introjs-helperLayer").realHover();
Expand Down Expand Up @@ -133,7 +135,9 @@ context("Highlight", () => {
},
],
})
.start();
.start();

cy.wait(500);

let sp = cy.spy(window, "clickRelative");

Expand Down Expand Up @@ -192,6 +196,8 @@ context("Highlight", () => {
})
.start();

cy.wait(500);

let sp = cy.spy(window, "clickAbsolute");

cy.get(".introjs-helperLayer").realHover();
Expand Down

0 comments on commit 19447e5

Please sign in to comment.