Merge pull request #20190 from timvandermeij/text-layer-permafail
Improve the selection check in the "doesn't jump when moving selection" integration test
This commit is contained in:
commit
ab41f5095c
@ -509,7 +509,7 @@ describe("Text layer", () => {
|
|||||||
|
|
||||||
await expectAsync(page)
|
await expectAsync(page)
|
||||||
.withContext(`second selection`)
|
.withContext(`second selection`)
|
||||||
.toHaveRoughlySelected(/frequently .* We call such a se/s);
|
.toHaveRoughlySelected(/frequently .* We call such a s/s);
|
||||||
|
|
||||||
await page.mouse.down();
|
await page.mouse.down();
|
||||||
await moveInSteps(page, intermediateCaretPos, finalCaretPos, 20);
|
await moveInSteps(page, intermediateCaretPos, finalCaretPos, 20);
|
||||||
@ -517,7 +517,7 @@ describe("Text layer", () => {
|
|||||||
|
|
||||||
await expectAsync(page)
|
await expectAsync(page)
|
||||||
.withContext(`third selection`)
|
.withContext(`third selection`)
|
||||||
.toHaveRoughlySelected(/frequently .* We call such a se/s);
|
.toHaveRoughlySelected(/frequently .* We call such a s/s);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user