Skip to content

Commit

Permalink
added smoke, chrome and edge run
Browse files Browse the repository at this point in the history
  • Loading branch information
sadabnepal committed Apr 21, 2024
1 parent 4ebd0bb commit 8f5ecea
Showing 1 changed file with 47 additions and 7 deletions.
54 changes: 47 additions & 7 deletions .github/workflows/web.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,64 @@ on:
branches: main

jobs:
build:
smoke:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js environment
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Packages
run: npm ci
- name: Run Test
run: npm run smoke

regression_on_chrome:
needs: [smoke]
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm install
run: npm ci
- name: Run Test
run: npm run test
continue-on-error: true
- name: Generate Allure Repor
run: npm run report:ci
- name: Generate Allure Report
if: always()
run: npm run report
- name: Upload Allure Report to Artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: AllureReportChrome
path: ./allure-report

regression_on_edge:
needs: [smoke]
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Run Test
run: npm run test:edge
- name: Generate Allure Report
run: npm run report
if: always()
- name: Upload Allure Report to Artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: AllureReport
name: AllureReportEdge
path: ./allure-report

0 comments on commit 8f5ecea

Please sign in to comment.