-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update cypress and use official image (#89)
- Loading branch information
Showing
84 changed files
with
1,911 additions
and
1,396 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
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
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+138 KB
demo/cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-1366x768.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
+236 KB
.../cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-1920x1080.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
+287 KB
.../cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-3440x1440.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
+56.3 KB
demo/cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-360x640.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
+302 KB
.../cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-3840x2160.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
+55.8 KB
demo/cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-640x360.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
+126 KB
demo/cypress-visual-screenshots/baseline/FluidGridDemo.spec.tsx-basic-820x1024.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 removed
BIN
-138 KB
...ress-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-1366x768.png
Binary file not shown.
Binary file removed
BIN
-234 KB
...ess-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-1920x1080.png
Binary file not shown.
Binary file removed
BIN
-285 KB
...ess-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-3440x1440.png
Binary file not shown.
Binary file removed
BIN
-57.6 KB
...press-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-360x640.png
Binary file not shown.
Binary file removed
BIN
-299 KB
...ess-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-3840x2160.png
Binary file not shown.
Binary file removed
BIN
-55.7 KB
...press-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-640x360.png
Binary file not shown.
Binary file removed
BIN
-125 KB
...ress-visual-screenshots/baseline/Grid/FluidGridDemo.spec.tsx-basic-820x1024.png
Binary file not shown.
Binary file removed
BIN
-185 KB
demo/cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-1366x768.png
Binary file not shown.
Binary file removed
BIN
-253 KB
.../cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-1920x1080.png
Binary file not shown.
Binary file removed
BIN
-312 KB
.../cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-3440x1440.png
Binary file not shown.
Binary file removed
BIN
-46.9 KB
demo/cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-360x640.png
Binary file not shown.
Binary file removed
BIN
-327 KB
.../cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-3840x2160.png
Binary file not shown.
Binary file removed
BIN
-36.8 KB
demo/cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-640x360.png
Binary file not shown.
Binary file removed
BIN
-182 KB
demo/cypress-visual-screenshots/baseline/Grid/GridDemo.spec.tsx-basic-820x1024.png
Binary file not shown.
Binary file added
BIN
+187 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-1366x768.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
+253 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-1920x1080.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
+312 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-3440x1440.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
+45 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-360x640.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
+328 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-3840x2160.png
Oops, something went wrong.
Binary file added
BIN
+36.9 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-640x360.png
Oops, something went wrong.
Binary file added
BIN
+174 KB
demo/cypress-visual-screenshots/baseline/GridDemo.spec.tsx-basic-820x1024.png
Oops, something went wrong.
Binary file removed
BIN
-19 KB
...sual-screenshots/baseline/PageLayout/PageLayoutDemo.spec.tsx-basic-1366x768.png
Diff not rendered.
Binary file removed
BIN
-23.7 KB
...ual-screenshots/baseline/PageLayout/PageLayoutDemo.spec.tsx-basic-1920x1080.png
Diff not rendered.
Binary file removed
BIN
-35.2 KB
...ual-screenshots/baseline/PageLayout/PageLayoutDemo.spec.tsx-basic-3440x1440.png
Diff not rendered.
Binary file removed
BIN
-9.63 KB
...isual-screenshots/baseline/PageLayout/PageLayoutDemo.spec.tsx-basic-360x640.png
Diff not rendered.
Binary file removed
BIN
-11.9 KB
...isual-screenshots/baseline/PageLayout/PageLayoutDemo.spec.tsx-basic-640x360.png
Diff not rendered.
Binary file removed
BIN
-17.1 KB
...sual-screenshots/baseline/PageLayout/PageLayoutDemo.spec.tsx-basic-820x1024.png
Diff not rendered.
Binary file removed
BIN
-99.5 KB
...creenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-1366x768.png
Diff not rendered.
Binary file removed
BIN
-105 KB
...reenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-1920x1080.png
Diff not rendered.
Binary file removed
BIN
-117 KB
...reenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-3440x1440.png
Diff not rendered.
Binary file removed
BIN
-70.6 KB
...screenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-360x640.png
Diff not rendered.
Binary file removed
BIN
-132 KB
...reenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-3840x2160.png
Diff not rendered.
Binary file removed
BIN
-69.9 KB
...screenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-640x360.png
Diff not rendered.
Binary file removed
BIN
-96.1 KB
...creenshots/baseline/PageLayout/PageLayoutPaddedDemo.spec.tsx-basic-820x1024.png
Diff not rendered.
Binary file removed
BIN
-46.6 KB
...enshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-1366x768.png
Diff not rendered.
Binary file removed
BIN
-51.4 KB
...nshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-1920x1080.png
Diff not rendered.
Binary file removed
BIN
-63.5 KB
...nshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-3440x1440.png
Diff not rendered.
Binary file removed
BIN
-30.8 KB
...eenshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-360x640.png
Diff not rendered.
Binary file removed
BIN
-77.8 KB
...nshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-3840x2160.png
Diff not rendered.
Binary file removed
BIN
-34 KB
...eenshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-640x360.png
Diff not rendered.
Binary file removed
BIN
-43.3 KB
...enshots/baseline/PageLayout/PageLayoutStickyBarDemo.spec.tsx-basic-820x1024.png
Diff not rendered.
Binary file added
BIN
+19.2 KB
.../cypress-visual-screenshots/baseline/PageLayoutDemo.spec.tsx-basic-1366x768.png
Oops, something went wrong.
Binary file added
BIN
+23.8 KB
...cypress-visual-screenshots/baseline/PageLayoutDemo.spec.tsx-basic-1920x1080.png
Oops, something went wrong.
Binary file added
BIN
+35.4 KB
...cypress-visual-screenshots/baseline/PageLayoutDemo.spec.tsx-basic-3440x1440.png
Oops, something went wrong.
Binary file added
BIN
+9.67 KB
demo/cypress-visual-screenshots/baseline/PageLayoutDemo.spec.tsx-basic-360x640.png
Oops, something went wrong.
Binary file renamed
BIN
+49.2 KB
...geLayoutDemo.spec.tsx-basic-3840x2160.png → ...geLayoutDemo.spec.tsx-basic-3840x2160.png
Oops, something went wrong.
Binary file added
BIN
+11.9 KB
demo/cypress-visual-screenshots/baseline/PageLayoutDemo.spec.tsx-basic-640x360.png
Oops, something went wrong.
Binary file added
BIN
+17.3 KB
.../cypress-visual-screenshots/baseline/PageLayoutDemo.spec.tsx-basic-820x1024.png
Oops, something went wrong.
Binary file added
BIN
+99.8 KB
...ss-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-1366x768.png
Oops, something went wrong.
Binary file added
BIN
+105 KB
...s-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-1920x1080.png
Oops, something went wrong.
Binary file added
BIN
+118 KB
...s-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-3440x1440.png
Oops, something went wrong.
Binary file added
BIN
+66.1 KB
...ess-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-360x640.png
Oops, something went wrong.
Binary file added
BIN
+133 KB
...s-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-3840x2160.png
Oops, something went wrong.
Binary file added
BIN
+69.9 KB
...ess-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-640x360.png
Oops, something went wrong.
Binary file added
BIN
+96.5 KB
...ss-visual-screenshots/baseline/PageLayoutPaddedDemo.spec.tsx-basic-820x1024.png
Oops, something went wrong.
Binary file added
BIN
+46.8 KB
...visual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-1366x768.png
Oops, something went wrong.
Binary file added
BIN
+51.5 KB
...isual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-1920x1080.png
Oops, something went wrong.
Binary file added
BIN
+63.7 KB
...isual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-3440x1440.png
Oops, something went wrong.
Binary file added
BIN
+31 KB
...-visual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-360x640.png
Oops, something went wrong.
Binary file added
BIN
+78.3 KB
...isual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-3840x2160.png
Oops, something went wrong.
Binary file added
BIN
+34.1 KB
...-visual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-640x360.png
Oops, something went wrong.
Binary file added
BIN
+43.5 KB
...visual-screenshots/baseline/PageLayoutStickyBarDemo.spec.tsx-basic-820x1024.png
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,19 @@ | ||
const { defineConfig } = require('cypress'); | ||
const getCompareSnapshotsPlugin = require('cypress-image-diff-js/dist/plugin'); | ||
|
||
module.exports = defineConfig({ | ||
e2e: { | ||
baseUrl: 'http://localhost:4000/#/', | ||
specPattern: 'src/**/*.spec.{js,ts,jsx,tsx}', | ||
video: false, | ||
defaultCommandTimeout: 20000, | ||
requestTimeout: 20000, | ||
viewportWidth: 3840, | ||
viewportHeight: 2160, | ||
retries: 3, | ||
fixturesFolder: false, | ||
setupNodeEvents(on, config) { | ||
getCompareSnapshotsPlugin(on, config); | ||
}, | ||
}, | ||
}); |
This file was deleted.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,8 @@ | ||
#!/bin/sh | ||
|
||
# `esbuild` is needed for the preview and it is has different binaries for different OSes | ||
# therefore we need to rebuild it in Docker container | ||
npm rebuild esbuild | ||
cd demo | ||
# `&` is used to run the process in the background | ||
yarn preview & | ||
yarn preview:serve & | ||
cypress run "$@" | ||
|
||
# exec "$@" |
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
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
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
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
Oops, something went wrong.