Merged in chore/fix-broken-e2e-test (pull request #3031)

chore: Fix broken e2e tests

* Update date picker selector


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-10-29 15:24:09 +00:00
parent ed833e714b
commit 6b38d57197

View File

@@ -20,7 +20,7 @@ test("can make a search with city", async ({ page }) => {
await page
.getByRole("button", {
name: `${formatDate(today)} - ${formatDate(tomorrow)}`,
name: new RegExp(`${formatDate(today)}.*${formatDate(tomorrow)}`),
})
.click()
@@ -115,7 +115,7 @@ test("can make a search with hotel", async ({ page }) => {
await page
.getByRole("button", {
name: `${formatDate(today)} - ${formatDate(tomorrow)}`,
name: new RegExp(`${formatDate(today)}.*${formatDate(tomorrow)}`),
})
.click()