Skip to content

Commit

Permalink
Merge pull request #9 from dgodongm/dg_cypress_cloud_setup
Browse files Browse the repository at this point in the history
config file updates
  • Loading branch information
dgodongm authored Mar 15, 2024
2 parents 43b038c + f80173d commit 5336715
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ jobs:
start: npm start
# quote the url to be safe against YML parsing surprises
wait-on: "http://localhost:3001"
record: true
env:
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# pass the Cypress Cloud record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass the project ID from the secrets through environment variable
CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }}
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { defineConfig } = require("cypress");

module.exports = defineConfig({
projectId: 'agxbnk',
e2e: {
baseUrl: "http://localhost:3001",
setupNodeEvents(on, config) {
Expand Down

0 comments on commit 5336715

Please sign in to comment.