Skip to content

allow specifying widget MAX_AUTO_NODE_LABELS and edge curviness #22

allow specifying widget MAX_AUTO_NODE_LABELS and edge curviness

allow specifying widget MAX_AUTO_NODE_LABELS and edge curviness #22

Workflow file for this run

name: Test
on: [push]
#on:
# push:
# branches: main
# pull_request:
# branches: '*'
jobs:
integration-tests:
name: Playwright UI tests
runs-on: ubuntu-latest
env:
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/pw-browsers
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install ogdf-python
run: |
set -eux
python -m pip install .[quickstart]
- name: Install test dependencies
working-directory: ui-tests
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: 0
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: jlpm install
- name: Set up browser cache
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/pw-browsers
key: ${{ runner.os }}-${{ hashFiles('ui-tests/yarn.lock') }}
- name: Install browser
run: jlpm playwright install chromium
working-directory: ui-tests
- name: Execute playwright tests
working-directory: ui-tests
run: |
jlpm playwright test
- name: Upload playwright test report
if: always()
uses: actions/upload-artifact@v3
with:
name: playwright-tests
path: |
ui-tests/test-results
ui-tests/playwright-report