fix ci, more output @ ci
All checks were successful
CI/CD Pipeline / test (push) Successful in 18m51s
CI/CD Pipeline / deploy-staging (push) Successful in 4m3s
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-03-04 14:55:11 +01:00
parent 4eeb2162d8
commit dfa0eaeb4f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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();