Merge pull request #18277 from calixteman/issue18276
[Editor] Fix intermittent failure in integration test when highlighting with the keyboard
This commit is contained in:
commit
2f462a8afe
@ -696,6 +696,8 @@ describe("Highlight Editor", () => {
|
|||||||
await page.keyboard.press("ArrowDown");
|
await page.keyboard.press("ArrowDown");
|
||||||
await page.keyboard.up("Shift");
|
await page.keyboard.up("Shift");
|
||||||
|
|
||||||
|
await page.waitForSelector(sel);
|
||||||
|
|
||||||
const [w, h] = await page.evaluate(s => {
|
const [w, h] = await page.evaluate(s => {
|
||||||
const {
|
const {
|
||||||
style: { width, height },
|
style: { width, height },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user