-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: split cypress tests for different needs in different environme…
…nts (#3663) * chore: split cypress tests for different needs in different environments * chore: correct logic * chore: better cypress test suite names * chore: slight naming and remve percy variables from integration tests * chore: comment context" * chore: whoops
- Loading branch information
Showing
9 changed files
with
118 additions
and
23 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
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
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,33 @@ | ||
import { defineConfig } from "cypress"; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
// Cypress config to only run the site e2e tests, excluding the VRT tests. | ||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: "http://localhost:3000", | ||
env: { | ||
USE_CYPRESS_VRT: process.env.USE_CYPRESS_VRT, | ||
CYPRESS_BASE_URL: process.env.CYPRESS_BASE_URL, | ||
}, | ||
viewportWidth: 1440, | ||
viewportHeight: 1440, | ||
projectId: "pe4h41", | ||
retries: { | ||
runMode: 2, | ||
openMode: 2, | ||
}, | ||
video: false, | ||
blockHosts: [ | ||
"*.google-analytics.com", | ||
"*.codesandbox.io", | ||
"codesandbox.io", | ||
"*.loom.com", | ||
"*.youtube.com", | ||
"*.github.com", | ||
"*.googletagmanager.com", | ||
], | ||
specPattern: ["cypress/**/*.spec.ts"], | ||
excludeSpecPattern: ["cypress/integration/sitemap-vrt/**/*"], | ||
defaultCommandTimeout: 6000, | ||
}, | ||
}); |
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,32 @@ | ||
import { defineConfig } from "cypress"; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
// Cypress config to only run the site vrt tests via Percy, excluding the e2e tests. | ||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: "http://localhost:3000", | ||
env: { | ||
USE_CYPRESS_VRT: process.env.USE_CYPRESS_VRT, | ||
CYPRESS_BASE_URL: process.env.CYPRESS_BASE_URL, | ||
}, | ||
viewportWidth: 1440, | ||
viewportHeight: 1440, | ||
projectId: "pe4h41", | ||
retries: { | ||
runMode: 2, | ||
openMode: 2, | ||
}, | ||
video: false, | ||
blockHosts: [ | ||
"*.google-analytics.com", | ||
"*.codesandbox.io", | ||
"codesandbox.io", | ||
"*.loom.com", | ||
"*.youtube.com", | ||
"*.github.com", | ||
"*.googletagmanager.com", | ||
], | ||
specPattern: ["cypress/integration/sitemap-vrt/**/*.spec.ts"], | ||
defaultCommandTimeout: 6000, | ||
}, | ||
}); |
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
91fe830
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
paste-remix – ./
paste-remix-git-main-twilio.vercel.app
paste-remix-theta.vercel.app
paste-remix-twilio.vercel.app
remix.twilio.design