Skip to content

Commit 9fbf0e7

Browse files
authored
Disable End-to-End Testing workflow temporarily
- Commented out the E2E Testing workflow to prevent it from running. - Disabled all triggers and jobs in the workflow file. - This is a temporary change and can be re-enabled when end-to-end testing is required again.
1 parent 19e2445 commit 9fbf0e7

File tree

1 file changed

+38
-36
lines changed

1 file changed

+38
-36
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
name: End-to-End (E2E) Testing
22

3-
on:
4-
workflow_run:
5-
workflows: ["Staging Deployment"]
6-
types:
7-
- completed
8-
9-
jobs:
10-
e2e-tests:
11-
name: Run E2E Tests with Cypress
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v3
17-
18-
- name: Set up Node.js
19-
uses: actions/setup-node@v3
20-
with:
21-
node-version: '16'
22-
23-
- name: Install dependencies
24-
run: npm install
25-
26-
- name: Install Cypress
27-
run: npm install cypress --save-dev
28-
29-
- name: Start Staging Server
30-
# This should start your staging server for Cypress to test against.
31-
# Replace 'npm run start-staging' with the actual command that starts your staging environment.
32-
run: npm run start-staging &
33-
env:
34-
STAGING_API_KEY: ${{ secrets.STAGING_API_KEY }}
35-
STAGING_API_URL: ${{ secrets.STAGING_API_URL }}
36-
37-
- name: Run Cypress Tests
38-
run: npx cypress run
3+
# Disabled workflow for E2E Testing
4+
5+
# on:
6+
# workflow_run:
7+
# workflows: ["Staging Deployment"]
8+
# types:
9+
# - completed
10+
11+
# jobs:
12+
# e2e-tests:
13+
# name: Run E2E Tests with Cypress
14+
# runs-on: ubuntu-latest
15+
16+
# steps:
17+
# - name: Checkout code
18+
# uses: actions/checkout@v3
19+
20+
# - name: Set up Node.js
21+
# uses: actions/setup-node@v3
22+
# with:
23+
# node-version: '16'
24+
25+
# - name: Install dependencies
26+
# run: npm install
27+
28+
# - name: Install Cypress
29+
# run: npm install cypress --save-dev
30+
31+
# - name: Start Staging Server
32+
# # This should start your staging server for Cypress to test against.
33+
# # Replace 'npm run start-staging' with the actual command that starts your staging environment.
34+
# run: npm run start-staging &
35+
# env:
36+
# STAGING_API_KEY: ${{ secrets.STAGING_API_KEY }}
37+
# STAGING_API_URL: ${{ secrets.STAGING_API_URL }}
38+
39+
# - name: Run Cypress Tests
40+
# run: npx cypress run

0 commit comments

Comments
 (0)