-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Víctor CG <[email protected]> Co-authored-by: Jose A. Cabaneros <[email protected]> Co-authored-by: Víctor CG <[email protected]>
- Loading branch information
1 parent
0d77d64
commit a19b011
Showing
95 changed files
with
9,452 additions
and
23,024 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"nonGlobalStepDefinitions": false, | ||
"stepDefinitions": "tests/e2e/cucumber" | ||
"stepDefinitions": "tests/e2e/**/*.spec.ts" | ||
} |
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,6 +1,15 @@ | ||
{ | ||
"extends": ["plugin:@empathyco/x/all"], | ||
"rules": { | ||
"vuejs-accessibility/no-autofocus": "off" | ||
} | ||
"vuejs-accessibility/no-autofocus": "off", | ||
"vue/multi-word-component-names": "off" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*-icon*.vue", "logo.vue"], | ||
"rules": { | ||
"max-len": "off" | ||
} | ||
} | ||
] | ||
} |
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 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 +1,2 @@ | ||
@empathyco:registry=https://registry.npmjs.org/ | ||
legacy-peer-deps=true |
Empty file.
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 |
---|---|---|
@@ -1,21 +1,33 @@ | ||
import { defineConfig } from 'cypress' | ||
import { defineConfig } from 'cypress'; | ||
import createBundler from '@bahmutov/cypress-esbuild-preprocessor'; | ||
import { addCucumberPreprocessorPlugin } from '@badeball/cypress-cucumber-preprocessor'; | ||
import { createEsbuildPlugin } from '@badeball/cypress-cucumber-preprocessor/esbuild'; | ||
|
||
export default defineConfig({ | ||
defaultCommandTimeout: 7000, | ||
fixturesFolder: 'tests/e2e/fixtures', | ||
screenshotsFolder: 'tests/e2e/screenshots', | ||
screenshotOnRunFailure: false, | ||
video: false, | ||
retries: 1, | ||
includeShadowDom: true, | ||
e2e: { | ||
// We've imported your old cypress plugins here. | ||
// You may want to clean this up later by importing these. | ||
setupNodeEvents(on, config) { | ||
return require('./tests/e2e/plugins/index.js')(on, config) | ||
}, | ||
baseUrl: 'http://localhost:8080', | ||
defaultCommandTimeout: 7000, | ||
requestTimeout: 7000, | ||
viewportHeight: 1080, | ||
viewportWidth: 1920, | ||
specPattern: 'tests/e2e/cucumber/**/*.feature', | ||
supportFile: 'tests/e2e/support/index.ts', | ||
}, | ||
}) | ||
fixturesFolder: 'tests/e2e/fixtures', | ||
screenshotsFolder: 'tests/e2e/screenshots', | ||
downloadsFolder: 'tests/e2e/downloads', | ||
experimentalRunAllSpecs: true, | ||
screenshotOnRunFailure: false, | ||
video: false, | ||
retries: 1, | ||
// https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/quick-start.md | ||
async setupNodeEvents(on, config) { | ||
// This is required for the preprocessor to be able to generate JSON reports after each run, and more. | ||
await addCucumberPreprocessorPlugin(on, config); | ||
|
||
on('file:preprocessor', createBundler({ plugins: [createEsbuildPlugin(config)] })); | ||
|
||
// Make sure to return the config object as it might have been modified by the plugin. | ||
return config; | ||
} | ||
} | ||
}); |
Binary file not shown.
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.
Oops, something went wrong.