mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-04 16:16:41 +02:00
added simple test
This commit is contained in:
17
.github/workflows/applitools-tests.yml
vendored
17
.github/workflows/applitools-tests.yml
vendored
@@ -75,20 +75,6 @@ jobs:
|
|||||||
with:
|
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"
|
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 }}
|
- if: ${{ env.USE_APPLI }}
|
||||||
name: Run Cypress with Applitools
|
name: Run Cypress with Applitools
|
||||||
uses: cypress-io/github-action@18a6541367f4580a515371905f499a27a44e8dbe # v6.7.12
|
uses: cypress-io/github-action@18a6541367f4580a515371905f499a27a44e8dbe # v6.7.12
|
||||||
@@ -106,8 +92,5 @@ jobs:
|
|||||||
APPLITOOLS_PARENT_BRANCH: ${{ github.event.inputs.parent_branch || 'master' }}
|
APPLITOOLS_PARENT_BRANCH: ${{ github.event.inputs.parent_branch || 'master' }}
|
||||||
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
|
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
|
||||||
APPLITOOLS_SERVER_URL: 'https://eyesapi.applitools.com'
|
APPLITOOLS_SERVER_URL: 'https://eyesapi.applitools.com'
|
||||||
# Ensure server binds to all interfaces
|
|
||||||
HOST: '0.0.0.0'
|
|
||||||
PORT: '9000'
|
|
||||||
# Enable Applitools
|
# Enable Applitools
|
||||||
USE_APPLI: 'true'
|
USE_APPLI: 'true'
|
||||||
|
Reference in New Issue
Block a user