mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 11:05:56 +00:00
fixed cypress config w/ burnettk
This commit is contained in:
parent
c18eafa812
commit
73302c9ef6
@ -24,12 +24,9 @@ const deleteVideosOnSuccess = (on) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = defineConfig({
|
const cypressConfig = {
|
||||||
projectId: 'crax1q',
|
projectId: 'crax1q',
|
||||||
|
|
||||||
// since it's slow
|
|
||||||
videoCompression: useVideoCompression,
|
|
||||||
|
|
||||||
videoUploadOnPasses: false,
|
videoUploadOnPasses: false,
|
||||||
chromeWebSecurity: false,
|
chromeWebSecurity: false,
|
||||||
e2e: {
|
e2e: {
|
||||||
@ -45,4 +42,11 @@ module.exports = defineConfig({
|
|||||||
// https://github.com/cypress-io/cypress/issues/2353
|
// https://github.com/cypress-io/cypress/issues/2353
|
||||||
// https://docs.cypress.io/guides/core-concepts/interacting-with-elements#Scrolling
|
// https://docs.cypress.io/guides/core-concepts/interacting-with-elements#Scrolling
|
||||||
scrollBehavior: "center",
|
scrollBehavior: "center",
|
||||||
});
|
}
|
||||||
|
|
||||||
|
if (!process.env.CYPRESS_RECORD_KEY) {
|
||||||
|
// since it's slow
|
||||||
|
cypressConfig.videoCompression = false
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = defineConfig(cypressConfig)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user