Skip to content

Commit eccd2eb

Browse files
Merge pull request #50 from goauthentik/experiment/playwright
Experiment/playwright
2 parents b3df28f + 7f3de0e commit eccd2eb

17 files changed

+3432
-4241
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# .github/workflows/ci.yml
2+
3+
name: CI
4+
5+
on: [push]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v5
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v5
17+
with:
18+
node-version: "24" # Use your desired Node.js version
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Install Playwright browsers
24+
run: npx playwright install --with-deps chromium chromium-headless-shell
25+
26+
- name: Run Vitest browser tests
27+
run: npm run test:ci # or whatever script runs your vitest command
28+
# Ensure your test script doesn't override the headless: true config with a flag like --no-headless

config/vitest.setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "../dist/css/authentik.css";

config/wdio.conf.mjs

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)