mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
fix e2e tests, filter requests to listen to correct time entry update request
This commit is contained in:
committed by
Constantin Graf
parent
b518187ecb
commit
5592d87cd5
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user