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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(