Skip to content

First e2e integration test #8

First e2e integration test

First e2e integration test #8

# CI configuration for Playwright with Python and Qualibrate setup
name: Playwright Tests
on:
push:
branches:
- main
- integration
pull_request:
branches:
- main
- integration
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Python and Create Environment
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install qualibrate # Install Qualibrate package
pip install quam # Install Quam package
# pip install quam_libs # Install Quam libraries
# pip install quam_libs.components # Install Quam components
- name: Create Qualibrate Configuration
run: |
source .venv/bin/activate
qualibrate config --auto-accept \
--spawn-runner True \
--runner-address "http://localhost:8001/execution/" \
--runner-timeout 2.0 \
--app-storage-type local_storage \
--app-user-storage "./user_storage" \
--app-project "ci_project" \
--log-folder "./logs"
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Playwright Dependencies
run: |
npm install
npx playwright install --with-deps
- name: Run Playwright Tests
run: |
source .venv/bin/activate
npx playwright test --config=playwright.config.ts