mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 20:22: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 page.waitForResponse(async (response) => {
|
||||||
return (
|
return (
|
||||||
response.status() === 200 &&
|
response.status() === 200 &&
|
||||||
|
response.url().includes('/time-entries/') &&
|
||||||
(await response.headerValue('Content-Type')) ===
|
(await response.headerValue('Content-Type')) ===
|
||||||
'application/json' &&
|
'application/json' &&
|
||||||
(await response.json()).data.id !== null &&
|
(await response.json()).data.id !== null &&
|
||||||
|
|||||||
Reference in New Issue
Block a user