Skip to content

Commit 4e93882

Browse files
committed
Workflow to run related tests
Signed-off-by: Shveta Sachdeva <[email protected]>
1 parent c0dff43 commit 4e93882

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/pr-related-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@ jobs:
9494
- name: Install Cypress binary
9595
run: npx cypress install
9696

97+
# Build the UI application
98+
- name: Build UI
99+
run: npm run build
100+
101+
# Start application server in background
102+
- name: Start application server
103+
run: |
104+
npm run start &
105+
npx wait-on http://localhost:3000 --timeout 60000
106+
97107
- name: Run Cypress tests
98108
working-directory: cypress
99109
run: |

0 commit comments

Comments
 (0)