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
+6 -6
View File
@@ -4,8 +4,8 @@ test('redirect', async ({ context }) => {
const controllerPage = await context.newPage();
const remotePage = await context.newPage();
await controllerPage.goto('http://localhost:4001/editor?settings=network__clients');
await remotePage.goto('http://localhost:4001/timer');
await controllerPage.goto('/editor?settings=network__clients');
await remotePage.goto('/timer');
await controllerPage.getByTestId('not-self-redirect').click();
await controllerPage.getByRole('textbox', { name: 'http://localhost:' }).click();
@@ -19,8 +19,8 @@ test('identify', async ({ context }) => {
const controllerPage = await context.newPage();
const remotePage = await context.newPage();
await controllerPage.goto('http://localhost:4001/editor?settings=network__clients');
await remotePage.goto('http://localhost:4001/timer');
await controllerPage.goto('/editor?settings=network__clients');
await remotePage.goto('/timer');
await controllerPage.getByTestId('not-self-identify').click();
@@ -31,8 +31,8 @@ test('rename', async ({ context }) => {
const controllerPage = await context.newPage();
const remotePage = await context.newPage();
await controllerPage.goto('http://localhost:4001/editor?settings=network__clients');
await remotePage.goto('http://localhost:4001/timer');
await controllerPage.goto('/editor?settings=network__clients');
await remotePage.goto('/timer');
await controllerPage.getByTestId('not-self-rename').click();
await controllerPage.getByPlaceholder('new name').click();