We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87fa604 commit 2273565Copy full SHA for 2273565
tests/cypress/integration/tour/navigation.js
@@ -47,6 +47,14 @@ context("Navigation", () => {
47
cy.get(".introjs-showElement").should("not.exist");
48
});
49
50
+ it("should exit the tour after right btn pressed at the end", () => {
51
+ cy.get(".introjs-tooltiptext").contains("step one");
52
+ cy.nextStep();
53
+ cy.get(".introjs-tooltiptext").contains("step two");
54
+ cy.realPress("ArrowRight");
55
+ cy.get(".introjs-showElement").should("not.exist");
56
+ });
57
+
58
it("should close the tour after clicking on the exit button", () => {
59
cy.get(".introjs-showElement").should("exist");
60
cy.get(".introjs-skipbutton").click();
0 commit comments