reformat files #227
@ -34,7 +34,7 @@ jobs:
|
|||||||
cargo build
|
cargo build
|
||||||
cd frontend && npm install && npm run build
|
cd frontend && npm install && npm run build
|
||||||
- name: Frontend tests
|
- name: Frontend tests
|
||||||
run: cd frontend && npx playwright install && npx playwright test --workers 1
|
run: cd frontend && npx playwright install && npx playwright test --workers 1 --reporter line
|
||||||
- name: Backend tests
|
- name: Backend tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
#- uses: actions/upload-artifact@v3
|
#- uses: actions/upload-artifact@v3
|
||||||
|
@ -150,7 +150,7 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => {
|
|||||||
|
|
||||||
await page.goto("http://localhost:8000/log");
|
await page.goto("http://localhost:8000/log");
|
||||||
await page.waitForTimeout(60000);
|
await page.waitForTimeout(60000);
|
||||||
await page.locator("div:nth-child(2) > .border-0").click();
|
await page.locator('div:nth-child(2) > .pt-2 > div > div > div:nth-child(2) > .border-0').click(); // 2 trips currently running, try to close second one
|
||||||
await page.getByRole("combobox", { name: "Destination" }).click();
|
await page.getByRole("combobox", { name: "Destination" }).click();
|
||||||
await page.getByRole("combobox", { name: "Destination" }).fill("Ottensheim");
|
await page.getByRole("combobox", { name: "Destination" }).fill("Ottensheim");
|
||||||
await page.getByRole("button", { name: "Ausfahrt beenden" }).click();
|
await page.getByRole("button", { name: "Ausfahrt beenden" }).click();
|
||||||
|
Loading…
Reference in New Issue
Block a user