-
Notifications
You must be signed in to change notification settings - Fork 88
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
Showing
59 changed files
with
3,994 additions
and
826 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Cypress | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- stable* | ||
|
||
env: | ||
APP_NAME: nextcloud-vue | ||
|
||
jobs: | ||
cypress: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# run x copies of the current job in parallel | ||
containers: [1] | ||
node-version: ['12'] | ||
|
||
name: Runner ${{ matrix.containers }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Cypress run | ||
uses: cypress-io/github-action@v1 | ||
with: | ||
record: true | ||
parallel: true | ||
env: | ||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | ||
|
||
- name: Upload snapshots | ||
uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: snapshots | ||
path: cypress/snapshots |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"projectId": "3paxvy", | ||
"viewportWidth": 1920, | ||
"viewportHeight": 1080, | ||
"defaultCommandTimeout": 6000, | ||
"experimentalComponentTesting": true, | ||
"componentFolder": "tests/visual", | ||
"nodeVersion": "system", | ||
"env": { | ||
"failSilently": false, | ||
"type": "actual" | ||
}, | ||
"screenshotsFolder": "cypress/snapshots/actual", | ||
"trashAssetsBeforeRuns": true | ||
} |
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,31 @@ | ||
// *********************************************************** | ||
// This example plugins/index.js can be used to load plugins | ||
// | ||
// You can change the location of this file or turn off loading | ||
// the plugins file with the 'pluginsFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/plugins-guide | ||
// *********************************************************** | ||
|
||
// This function is called when a project is opened or re-opened (e.g. due to | ||
// the project's config changing) | ||
|
||
const getCompareSnapshotsPlugin = require('cypress-visual-regression/dist/plugin') | ||
|
||
const webpack = require('@cypress/webpack-preprocessor') | ||
|
||
const webpackOptions = require('../../webpack.dev.js') | ||
webpackOptions.externals = {} | ||
|
||
const options = { | ||
// send in the options from your webpack.config.js, so it works the same | ||
// as your app's code | ||
webpackOptions, | ||
watchOptions: {}, | ||
} | ||
|
||
module.exports = (on, config) => { | ||
getCompareSnapshotsPlugin(on) | ||
on('file:preprocessor', webpack(options)) | ||
} |
Binary file added
BIN
+7.72 KB
....vue - starred_false - compact_false - header_image - secondary_button-base.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
+6.58 KB
...ar.vue - starred_false - compact_false - header_image - secondary_none-base.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
+5.73 KB
...r.vue - starred_false - compact_false - header_none - secondary_button-base.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
+4.73 KB
...bar.vue - starred_false - compact_false - header_none - secondary_none-base.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
+4.98 KB
...r.vue - starred_false - compact_true - header_image - secondary_button-base.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
+4.77 KB
...bar.vue - starred_false - compact_true - header_image - secondary_none-base.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
+5.73 KB
...ar.vue - starred_false - compact_true - header_none - secondary_button-base.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
+4.73 KB
...ebar.vue - starred_false - compact_true - header_none - secondary_none-base.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
+7.38 KB
...r.vue - starred_null - compact_false - header_image - secondary_button-base.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
+6.26 KB
...bar.vue - starred_null - compact_false - header_image - secondary_none-base.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
+5.42 KB
...ar.vue - starred_null - compact_false - header_none - secondary_button-base.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
+4.42 KB
...ebar.vue - starred_null - compact_false - header_none - secondary_none-base.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
+4.93 KB
...ar.vue - starred_null - compact_true - header_image - secondary_button-base.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
+4.73 KB
...ebar.vue - starred_null - compact_true - header_image - secondary_none-base.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
+5.42 KB
...bar.vue - starred_null - compact_true - header_none - secondary_button-base.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
+4.42 KB
...debar.vue - starred_null - compact_true - header_none - secondary_none-base.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
+7.65 KB
...r.vue - starred_true - compact_false - header_image - secondary_button-base.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
+6.52 KB
...bar.vue - starred_true - compact_false - header_image - secondary_none-base.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
+5.67 KB
...ar.vue - starred_true - compact_false - header_none - secondary_button-base.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
+4.67 KB
...ebar.vue - starred_true - compact_false - header_none - secondary_none-base.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
+5.2 KB
...ar.vue - starred_true - compact_true - header_image - secondary_button-base.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
+5 KB
...ebar.vue - starred_true - compact_true - header_image - secondary_none-base.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
+5.67 KB
...bar.vue - starred_true - compact_true - header_none - secondary_button-base.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
+4.67 KB
...debar.vue - starred_true - compact_true - header_none - secondary_none-base.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
+5.82 KB
....vue - starred_false - compact_false - header_image - secondary_button-diff.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
+5.22 KB
...ar.vue - starred_false - compact_false - header_image - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+4.08 KB
...r.vue - starred_false - compact_false - header_none - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.54 KB
...bar.vue - starred_false - compact_false - header_none - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.68 KB
...r.vue - starred_false - compact_true - header_image - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.56 KB
...bar.vue - starred_false - compact_true - header_image - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+4.08 KB
...ar.vue - starred_false - compact_true - header_none - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.54 KB
...ebar.vue - starred_false - compact_true - header_none - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+5.58 KB
...r.vue - starred_null - compact_false - header_image - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+4.99 KB
...bar.vue - starred_null - compact_false - header_image - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.86 KB
...ar.vue - starred_null - compact_false - header_none - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.32 KB
...ebar.vue - starred_null - compact_false - header_none - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.65 KB
...ar.vue - starred_null - compact_true - header_image - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.53 KB
...ebar.vue - starred_null - compact_true - header_image - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.86 KB
...bar.vue - starred_null - compact_true - header_none - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.32 KB
...debar.vue - starred_null - compact_true - header_none - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+5.77 KB
...r.vue - starred_true - compact_false - header_image - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+5.18 KB
...bar.vue - starred_true - compact_false - header_image - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+4.04 KB
...ar.vue - starred_true - compact_false - header_none - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.5 KB
...ebar.vue - starred_true - compact_false - header_none - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.88 KB
...ar.vue - starred_true - compact_true - header_image - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.76 KB
...ebar.vue - starred_true - compact_true - header_image - secondary_none-diff.png
Oops, something went wrong.
Binary file added
BIN
+4.04 KB
...bar.vue - starred_true - compact_true - header_none - secondary_button-diff.png
Oops, something went wrong.
Binary file added
BIN
+3.5 KB
...debar.vue - starred_true - compact_true - header_none - secondary_none-diff.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,3 @@ | ||
const compareSnapshotCommand = require('cypress-visual-regression/dist/command') | ||
|
||
compareSnapshotCommand() |
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,17 @@ | ||
// *********************************************************** | ||
// This example support/index.js is processed and | ||
// loaded automatically before your test files. | ||
// | ||
// This is a great place to put global configuration and | ||
// behavior that modifies Cypress. | ||
// | ||
// You can change the location of this file or turn off | ||
// automatically serving support files with the | ||
// 'supportFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/configuration | ||
// *********************************************************** | ||
|
||
import 'cypress-vue-unit-test/dist/support' | ||
import './commands' |
Oops, something went wrong.