fix e2e tests, filter requests to listen to correct time entry update request

This commit is contained in:
Gregor Vostrak
2024-09-06 15:33:30 +02:00
committed by Constantin Graf
parent b518187ecb
commit 5592d87cd5

View File

@@ -49,6 +49,7 @@ export async function stoppedTimeEntryResponse(
return page.waitForResponse(async (response) => {
return (
response.status() === 200 &&
response.url().includes('/time-entries/') &&
(await response.headerValue('Content-Type')) ===
'application/json' &&
(await response.json()).data.id !== null &&