Viewing File: /usr/local/cpanel/3rdparty/wpinstaller/files/plugins/bluehost-wordpress-plugin/cypress.config.js
const { defineConfig } = require('cypress')
module.exports = defineConfig({
projectId: "gpdgcu",
env: {
wpUsername: 'admin',
wpPassword: 'password',
},
downloadsFolder: 'tests/cypress/downloads',
fixturesFolder: 'tests/cypress/fixtures',
screenshotsFolder: 'tests/cypress/screenshots',
video: true,
videosFolder: 'tests/cypress/videos',
videoUploadOnPasses: false,
experimentalFetchPolyfill: true,
chromeWebSecurity: false,
viewportWidth: 1024,
viewportHeight: 768,
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/cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:8882',
specPattern: 'tests/cypress/integration/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'tests/cypress/support/index.js',
},
})
Back to Directory
File Manager