Skip to content

Commit ab41f50

Browse files
Merge pull request #20190 from timvandermeij/text-layer-permafail
Improve the selection check in the "doesn't jump when moving selection" integration test
2 parents 7a65c58 + 4cc93af commit ab41f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/text_layer_spec.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,15 +509,15 @@ describe("Text layer", () => {
509509

510510
await expectAsync(page)
511511
.withContext(`second selection`)
512-
.toHaveRoughlySelected(/frequently .* We call such a se/s);
512+
.toHaveRoughlySelected(/frequently .* We call such a s/s);
513513

514514
await page.mouse.down();
515515
await moveInSteps(page, intermediateCaretPos, finalCaretPos, 20);
516516
await page.mouse.up();
517517

518518
await expectAsync(page)
519519
.withContext(`third selection`)
520-
.toHaveRoughlySelected(/frequently .* We call such a se/s);
520+
.toHaveRoughlySelected(/frequently .* We call such a s/s);
521521
});
522522
});
523523
});

0 commit comments

Comments
 (0)