mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-11-16 01:27:07 +00:00
37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
const { defineConfig } = require('cypress')
|
|
|
|
module.exports = defineConfig({
|
|
fixturesFolder: 'tests/cypress/fixtures',
|
|
videosFolder: 'tests/cypress/output/videos',
|
|
screenshotsFolder: 'tests/cypress/output/screenshots',
|
|
viewportHeight: 1000,
|
|
viewportWidth: 1200,
|
|
e2e: {
|
|
setupNodeEvents(on, config) {},
|
|
baseUrl: 'http://localhost/',
|
|
specPattern: [
|
|
'tests/cypress/integration/install/*.cy.{js,jsx,ts,tsx}',
|
|
'tests/cypress/integration/administrator/**/*.cy.{js,jsx,ts,tsx}',
|
|
'tests/cypress/integration/site/**/*.cy.{js,jsx,ts,tsx}'
|
|
],
|
|
supportFile: 'tests/cypress/support/index.js',
|
|
scrollBehavior: 'center',
|
|
browser: 'firefox',
|
|
screenshotOnRunFailure: true,
|
|
video: false
|
|
},
|
|
env: {
|
|
sitename: 'Joomla CMS Test',
|
|
name: 'jane doe',
|
|
email: 'admin@example.com',
|
|
username: 'ci-admin',
|
|
password: 'joomla-17082005',
|
|
db_type: 'MySQLi',
|
|
db_host: 'localhost',
|
|
db_name: 'test_joomla',
|
|
db_user: 'root',
|
|
db_password: 'joomla_ut',
|
|
db_prefix: 'jos_',
|
|
},
|
|
})
|