summaryrefslogtreecommitdiff
path: root/tests/example.spec.ts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-07-08 14:24:57 +0200
committerErich Eckner <git@eckner.net>2024-07-08 14:24:57 +0200
commitf780b52a81e7b78070a3d44c4b6b28db4259b7ef (patch)
tree176739ec4f2e560928b396d29d4667fc6af3e85d /tests/example.spec.ts
parentef3378ba8385520c0dc75013162ea79196d6d4f5 (diff)
downloadMilchtankstelle-master.tar.xz
role vanishedHEADmaster
Diffstat (limited to 'tests/example.spec.ts')
-rw-r--r--tests/example.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/example.spec.ts b/tests/example.spec.ts
index 8a97462..4a61349 100644
--- a/tests/example.spec.ts
+++ b/tests/example.spec.ts
@@ -6,7 +6,7 @@ test('Milchtankstelle', async ({ page }) => {
await page.getByRole('button', {name: 'Decline optional cookies'}).click();
await page.getByRole('button', {name: 'Close'}).click();
- let first = await page.$('xpath=//div[@role="article" and @aria-posinset="1"]');
+ let first = await page.$('xpath=//div[@aria-posinset="1"]');
let firstText = await first.innerHTML();
expect(firstText.includes('Endlich können wir Ihnen ab 23.12 .2023 10:00 Uhr wieder frische Milch anbieten.')).toBeTruthy();
});