Add test which reproduces the hanging mouse.click() behavior (#207)
This patch adds a disabled test to reproduce the mouse.click() hanging bug. References #206.
This commit is contained in:
parent
2d650d0301
commit
13327f3303
@ -1159,6 +1159,11 @@ describe('Page', function() {
|
||||
await page.press('a');
|
||||
expect(await page.evaluate(() => window.lastEvent.repeat)).toBe(true);
|
||||
}));
|
||||
xit('should click links which cause navigation', SX(async function() {
|
||||
await page.setContent(`<a href="${EMPTY_PAGE}">empty.html</a>`);
|
||||
// This await should not hang.
|
||||
await page.click('a');
|
||||
}));
|
||||
function dimensions() {
|
||||
let rect = document.querySelector('textarea').getBoundingClientRect();
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user