added simple test

This commit is contained in:
shubhamparikh2704
2025-08-20 23:14:43 +05:30
parent 8bb517f411
commit 3ecef138e4

View File

@@ -75,20 +75,6 @@ jobs:
with:
args: -X POST "$APPLITOOLS_SERVER_URL/api/externals/github/push?apiKey=$APPLITOOLS_API_KEY&CommitSha=$GITHUB_SHA&BranchName=${APPLITOOLS_BRANCH}&ParentBranchName=$APPLITOOLS_PARENT_BRANCH"
- name: Run basic Cypress test
uses: cypress-io/github-action@18a6541367f4580a515371905f499a27a44e8dbe # v6.7.12
with:
start: pnpm run dev
wait-on: 'http://localhost:9000'
browser: chrome
spec: 'cypress/integration/rendering/zenuml.spec.js'
env:
# Ensure server binds to all interfaces
HOST: '0.0.0.0'
PORT: '9000'
# Disable Applitools for basic test
USE_APPLI: ''
- if: ${{ env.USE_APPLI }}
name: Run Cypress with Applitools
uses: cypress-io/github-action@18a6541367f4580a515371905f499a27a44e8dbe # v6.7.12
@@ -106,8 +92,5 @@ jobs:
APPLITOOLS_PARENT_BRANCH: ${{ github.event.inputs.parent_branch || 'master' }}
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
APPLITOOLS_SERVER_URL: 'https://eyesapi.applitools.com'
# Ensure server binds to all interfaces
HOST: '0.0.0.0'
PORT: '9000'
# Enable Applitools
USE_APPLI: 'true'