-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
137b481
commit b26e4eb
Showing
68 changed files
with
226 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = (on, config) => { | ||
const getCompareSnapshotsPlugin = require("cypress-visual-regression/dist/plugin"); | ||
getCompareSnapshotsPlugin(on, config); | ||
}; |
File renamed without changes.
Binary file added
BIN
+311 KB
...ain checkbox -- should not display the tour if checkbox is clicked (failed).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+293 KB
...how again checkbox -- should render the 'Dont show Again' checkbox (failed).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+278 KB
...ctual/tour/dont-show-again.cy.js/dont-show-again-checkbox-first-step-actual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+262 KB
...actual/tour/dont-show-again.cy.js/dont-show-again-clicked-first-step-actual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+133 KB
...ts/diff/tour/dont-show-again.cy.js/dont-show-again-checkbox-first-step-diff.png
Oops, something went wrong.
Binary file added
BIN
+119 KB
...ots/diff/tour/dont-show-again.cy.js/dont-show-again-clicked-first-step-diff.png
Oops, something went wrong.
Binary file added
BIN
+130 KB
cypress/snapshots/diff/tour/highlight.cy.js/highlight-element-first-step-diff.png
Oops, something went wrong.
Binary file added
BIN
+67.5 KB
cypress/snapshots/diff/tour/highlight.cy.js/highlight-fixed-element-diff.png
Oops, something went wrong.
Binary file added
BIN
+63.2 KB
...ess/snapshots/diff/tour/highlight.cy.js/highlight-fixed-element-scroll-diff.png
Oops, something went wrong.
Binary file added
BIN
+66.2 KB
...pshots/diff/tour/highlight.cy.js/highlight-fixed-parent-element-scroll-diff.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
declare namespace Cypress { | ||
interface Chainable<Subject = any>{ | ||
nextStep(): Chainable<any>; | ||
prevStep(): Chainable<any>; | ||
} | ||
interface Window { | ||
introJs: any; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/// <reference types="./index.d.ts" /> | ||
|
||
import compareSnapshotCommand from "cypress-visual-regression/dist/command"; | ||
|
||
compareSnapshotCommand({ | ||
capture: "fullPage", | ||
}); | ||
|
||
Cypress.Commands.add("nextStep", () => { | ||
cy.get(".introjs-nextbutton").click(); | ||
}); | ||
|
||
Cypress.Commands.add("prevStep", () => { | ||
cy.get(".introjs-prevbutton").click(); | ||
}); | ||
|
||
Cypress.on("window:before:load", (win) => { | ||
const htmlNode = win.document.querySelector("html"); | ||
const node = win.document.createElement("style"); | ||
node.innerHTML = "html { scroll-behavior: inherit !important; }"; | ||
htmlNode?.appendChild(node); | ||
}); | ||
|
||
import "cypress-real-events/support"; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.