Add pause after resize to fix inconsistent dropdown/dropup direction behaviour
This commit is contained in:
parent
0903934848
commit
c7976b7acd
|
@ -31,6 +31,7 @@ async function test() {
|
|||
waitUntil: 'networkidle2',
|
||||
});
|
||||
await page.setViewport({ width: 640, height: 1000 });
|
||||
await page.waitForTimeout(500); // Wait for resize to complete
|
||||
await page.click('label[for="choices-single-custom-templates"]');
|
||||
await page.keyboard.press('ArrowDown');
|
||||
await page.keyboard.press('ArrowDown');
|
||||
|
|
Loading…
Reference in New Issue