Skip to content

Commit

Permalink
test out on its own branch
Browse files Browse the repository at this point in the history
  • Loading branch information
scytacki committed May 23, 2024
1 parent 5dfd78b commit cc0c45e
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/deployed-regresssion.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Deployed Regression

on:
workflow_dispatch:
inputs:
branch:
description: Branch containing cypress tests
default: master
required: true
deployedUrl:
description: URL to test
default: https://collaborative-learning.concord.org/index-staging.html
required: true
# workflow_dispatch:
# inputs:
# branch:
# description: Branch containing cypress tests
# default: master
# required: true
# deployedUrl:
# description: URL to test
# default: https://collaborative-learning.concord.org/index-staging.html
# required: true
push:
jobs:
all-tests:
runs-on: ubuntu-latest
Expand All @@ -28,7 +29,8 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
# ref: ${{ github.event.inputs.branch }}
ref: master
- name: Run Cypress Tests
uses: cypress-io/github-action@v4
with:
Expand All @@ -44,7 +46,8 @@ jobs:
spec: cypress/e2e/functional/**
env:
# override the baseUrl
CYPRESS_baseUrl: ${{ github.event.inputs.deployedUrl }}
# CYPRESS_baseUrl: ${{ github.event.inputs.deployedUrl }}
CYPRESS_baseUrl: https://collaborative-learning.concord.org/index-staging.html
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
Expand Down

0 comments on commit cc0c45e

Please sign in to comment.