feat: Vite 8 (#2018)

* chore: upgrade vite

* fix: inconsistentCjsInterop for ReactQR

* chore: e2e tests should use relativve path and get host from playwright config

* refactor: drop qr code dependency

---------

Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
This commit is contained in:
Alex Christoffer Rasmussen
2026-03-24 09:11:57 +01:00
committed by GitHub
parent 4662cc8a26
commit cf206e6220
22 changed files with 560 additions and 117 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test';
test('delays add time to events', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('/editor');
// delete all events and add a new one
await page.getByRole('button', { name: 'Edit' }).click();
@@ -50,7 +50,7 @@ test('delays add time to events', async ({ page }) => {
});
test('delays are show correctly', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('/editor');
// add a test event
await page.getByRole('button', { name: 'Edit' }).click();
@@ -81,10 +81,10 @@ test('delays are show correctly', async ({ page }) => {
await page.getByText('New start 00:11').click();
// delay is shown in the cuesheet
await page.goto('http://localhost:4001/cuesheet');
await page.goto('/cuesheet');
await page.getByRole('cell', { name: 'Delayed by 1 min' }).click();
// delay is shown in the backstage view
await page.goto('http://localhost:4001/backstage');
await page.goto('/backstage');
await page.getByText('00:11→00:21').click();
});