chore: parse response in tests (#796)

This commit is contained in:
Pavel Feldman
2025-07-30 12:47:22 -07:00
committed by GitHub
parent 65d99fe595
commit 4df162aff5
33 changed files with 442 additions and 365 deletions

View File

@@ -34,5 +34,7 @@ test('do not falsely advertise user agent as a test driver', async ({ client, se
arguments: {
url: server.PREFIX,
},
})).toContainTextContent('webdriver: false');
})).toHaveResponse({
pageState: expect.stringContaining(`webdriver: false`),
});
});