try
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test-frontend (push) Failing after 25m21s
CI/CD Pipeline / test-backend (push) Has been cancelled

This commit is contained in:
2024-01-16 22:52:31 +01:00
parent c372051561
commit beec5ba6c6
2 changed files with 18 additions and 11 deletions

View File

@ -1,4 +1,4 @@
import { test, expect } from '@playwright/test';
import { test, expect, Page } from '@playwright/test';
test('cox can create and delete trip', async ({ page }) => {
await page.goto('http://localhost:8000/auth');
@ -25,7 +25,7 @@ test('cox can create and delete trip', async ({ page }) => {
});
test.describe('cox can edit trips', () => {
let sharedPage;
let sharedPage: Page;
test.beforeEach(async ({ browser }) => {
const page = await browser.newPage();