chore: add e2e-tests package
This commit is contained in:
23
packages/e2e-tests/cypress.config.js
Normal file
23
packages/e2e-tests/cypress.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const { defineConfig } = require("cypress");
|
||||
|
||||
const TO_BE_PROVIDED = 'HAS_TO_BE_PROVIDED_IN_cypress.env.json';
|
||||
|
||||
module.exports = defineConfig({
|
||||
e2e: {
|
||||
baseUrl: 'http://localhost:3001',
|
||||
env: {
|
||||
login_email: "user@automatisch.io",
|
||||
login_password: "sample",
|
||||
twitter_api_key: TO_BE_PROVIDED,
|
||||
twitter_api_secret: TO_BE_PROVIDED,
|
||||
slack_user_token: TO_BE_PROVIDED,
|
||||
},
|
||||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||
excludeSpecPattern: [
|
||||
'**/1-getting-started/**',
|
||||
'**/2-advanced-examples/**'
|
||||
],
|
||||
viewportWidth: 1280,
|
||||
viewportHeight: 768
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user