mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat(chromium-tip-of-tree): roll to r1074 (#19853)
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
655d788c8e
commit
abe901d598
@ -15,9 +15,9 @@
|
||||
},
|
||||
{
|
||||
"name": "chromium-tip-of-tree",
|
||||
"revision": "1069",
|
||||
"revision": "1074",
|
||||
"installByDefault": false,
|
||||
"browserVersion": "110.0.5479.0"
|
||||
"browserVersion": "111.0.5515.0"
|
||||
},
|
||||
{
|
||||
"name": "firefox",
|
||||
|
||||
@ -354,6 +354,10 @@ it('should exclude patterns', async ({ contextFactory, server, browserName, head
|
||||
expect(error.message).toBeTruthy();
|
||||
}
|
||||
|
||||
// Make sure error page commits.
|
||||
if (browserName === 'chromium')
|
||||
await page.waitForURL('chrome-error://chromewebdata/');
|
||||
|
||||
{
|
||||
await page.goto('http://3.non.existent.domain.for.the.test/target.html');
|
||||
expect(proxyServer.requestUrls).toContain('http://3.non.existent.domain.for.the.test/target.html');
|
||||
|
||||
@ -210,6 +210,10 @@ it('should exclude patterns', async ({ browserType, server, browserName, headles
|
||||
expect(error.message).toBeTruthy();
|
||||
}
|
||||
|
||||
// Make sure error page commits.
|
||||
if (browserName === 'chromium')
|
||||
await page.waitForURL('chrome-error://chromewebdata/');
|
||||
|
||||
{
|
||||
await page.goto('http://3.non.existent.domain.for.the.test/target.html');
|
||||
expect(await page.title()).toBe('Served by the proxy');
|
||||
|
||||
@ -39,7 +39,7 @@ it('should work for promises', async ({ page }) => {
|
||||
expect(bHandle.toString()).toBe('Promise');
|
||||
});
|
||||
|
||||
it('should work with different subtypes @smoke', async ({ page, browserName }) => {
|
||||
it('should work with different subtypes @smoke', async ({ page, browserName, browserMajorVersion }) => {
|
||||
expect((await page.evaluateHandle('(function(){})')).toString()).toContain('function');
|
||||
expect((await page.evaluateHandle('12')).toString()).toBe('12');
|
||||
expect((await page.evaluateHandle('true')).toString()).toBe('true');
|
||||
@ -54,7 +54,7 @@ it('should work with different subtypes @smoke', async ({ page, browserName }) =
|
||||
expect((await page.evaluateHandle('new WeakMap()')).toString()).toBe('WeakMap');
|
||||
expect((await page.evaluateHandle('new WeakSet()')).toString()).toBe('WeakSet');
|
||||
expect((await page.evaluateHandle('new Error()')).toString()).toContain('Error');
|
||||
expect((await page.evaluateHandle('new Proxy({}, {})')).toString()).toBe('Proxy');
|
||||
expect((await page.evaluateHandle('new Proxy({}, {})')).toString()).toBe((browserName === 'chromium' && browserMajorVersion >= 111) ? 'Proxy(Object)' : 'Proxy');
|
||||
});
|
||||
|
||||
it('should work with previewable subtypes', async ({ page, browserName }) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user