-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NYS-84: minor changes to see if we can address performance issues wit…
…h the GH Action
- Loading branch information
1 parent
ebbf05b
commit 632e6c6
Showing
3 changed files
with
31 additions
and
30 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,22 +1,12 @@ | ||
const { defineConfig } = require("cypress"); | ||
|
||
const { defineConfig } = require('cypress') | ||
module.exports = defineConfig({ | ||
video: false, | ||
viewportWidth: 1280, | ||
viewportHeight: 720, | ||
e2e: { | ||
baseUrl: 'https://nysenate.ddev.site', | ||
// Allows for use of cy.task('log', 'This will be output to the terminal') | ||
// for console logging and debugging. | ||
setupNodeEvents(on, config) { | ||
on('task', { | ||
log(message) { | ||
console.log(message) | ||
|
||
return null | ||
}, | ||
}) | ||
return require('./cypress/plugins/index.js')(on, config) | ||
}, | ||
baseUrl: 'https://nysenate.ddev.site' | ||
}, | ||
env: { | ||
'drushCommand': 'ddev drush' | ||
}, | ||
video: false | ||
}); | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// *********************************************************** | ||
// This example plugins/index.js can be used to load plugins | ||
// | ||
// You can change the location of this file or turn off loading | ||
// the plugins file with the 'pluginsFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/plugins-guide | ||
// *********************************************************** | ||
|
||
// This function is called when a project is opened or re-opened (e.g. due to | ||
// the project's config changing) | ||
|
||
module.exports = (on, config) => { | ||
// `on` is used to hook into various events Cypress emits | ||
// `config` is the resolved Cypress config | ||
}; |