chore: restore page.setUserAgent test (#5868)

Ref. #5781.
This commit is contained in:
Mathias Bynens
2020-05-14 11:24:30 +02:00
committed by GitHub
parent 39f1b13449
commit b2552e4f7d

View File

@@ -896,7 +896,7 @@ describe('Page', function () {
});
describe('Page.setUserAgent', function () {
itFailsFirefox('should work', async () => {
it('should work', async () => {
const { page, server } = getTestState();
expect(await page.evaluate(() => navigator.userAgent)).toContain(