mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: HTMLImageElement.prototype.loading is present (#22744)
Failing test for https://github.com/microsoft/playwright/issues/22738
This commit is contained in:
parent
a4e90f20dc
commit
a68cc161dc
@ -233,3 +233,11 @@ it('make sure that XMLHttpRequest upload events are emitted correctly', async ({
|
||||
});
|
||||
expect(events).toEqual(['loadstart', 'progress', 'load', 'loadend']);
|
||||
});
|
||||
|
||||
it('loading in HTMLImageElement.prototype', async ({ page, server, browserName }) => {
|
||||
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22738' });
|
||||
it.fixme(browserName === 'webkit');
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
const defined = await page.evaluate(() => 'loading' in HTMLImageElement.prototype);
|
||||
expect(defined).toBeTruthy();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user