diff --git a/frontend/.gitignore b/frontend/.gitignore index 80ae973a7..ddaca859a 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -17,4 +17,5 @@ app/components/ui/SVG.js !.yarn/versions *.env.json cypress.env.json -cypress/snapshots/__diff_output__/ \ No newline at end of file +cypress/snapshots/__diff_output__/ +cypress/videos/ diff --git a/frontend/cypress/snapshots/replayer.cy.ts/1st-breakpoint.snap.png b/frontend/cypress/snapshots/replayer.cy.ts/1st-breakpoint.snap.png new file mode 100644 index 000000000..f37acb26c Binary files /dev/null and b/frontend/cypress/snapshots/replayer.cy.ts/1st-breakpoint.snap.png differ diff --git a/frontend/cypress/snapshots/replayer.cy.ts/2nd-breakpoint.snap.png b/frontend/cypress/snapshots/replayer.cy.ts/2nd-breakpoint.snap.png new file mode 100644 index 000000000..f880c78aa Binary files /dev/null and b/frontend/cypress/snapshots/replayer.cy.ts/2nd-breakpoint.snap.png differ diff --git a/frontend/package.json b/frontend/package.json index 972628de3..c5d1be245 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,7 +17,8 @@ "postinstall": "yarn gen:icons && yarn gen:colors", "build-storybook": "build-storybook", "test": "jest", - "cy:open": "cypress open" + "cy:open": "cypress open", + "cy:test": "cypress run --browser chrome" }, "dependencies": { "@floating-ui/react-dom-interactions": "^0.10.3", diff --git a/frontend/tests/player.test.js b/frontend/tests/player.test.js deleted file mode 100644 index 76f2ea262..000000000 --- a/frontend/tests/player.test.js +++ /dev/null @@ -1,8 +0,0 @@ -import WebPlayer from 'App/player/web/WebPlayer'; -import SimpleStore from 'App/player/common/SimpleStore' - -let store = new SimpleStore({ - ...WebPlayer.INITIAL_STATE, -}) - -const player = new WebPlayer(store, session, false)