saleor-dashboard/cypress.config.js
Karolina Rakoczy fd7813692a
Change way of tagging tests, add stable tag (#2102)
* change tags in tests

* change tags in tests

* add finde-names

* correct critical tag

* fix navigation

* remove comments

* fix config

* fix baseUrl port
2022-06-27 11:30:51 +02:00

24 lines
673 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
const { defineConfig } = require("cypress");
module.exports = defineConfig({
projectId: "51ef7c",
chromeWebSecurity: false,
videoUploadOnPasses: false,
defaultCommandTimeout: 20000,
requestTimeout: 20000,
viewportWidth: 1400,
viewportHeight: 660,
e2e: {
env: {
grepFilterSpecs: true
},
setupNodeEvents(on, config) {
config = require("./cypress/support/cypress-grep/plugin")(config);
config = require("./cypress/plugins/index.js")(on, config);
return config;
},
baseUrl: "http://localhost:9000/",
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}"
}
});