mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-08-03 04:47:21 +02:00
Compare commits
2 Commits
e738566900
...
92d7b6d09f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92d7b6d09f | ||
|
|
2a4f970e00 |
@ -339,8 +339,8 @@ describe("Signature Editor", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("must check copy and paste", async () => {
|
it("must check copy and paste", async () => {
|
||||||
await Promise.all(
|
// Run sequentially to avoid clipboard issues.
|
||||||
pages.map(async ([browserName, page]) => {
|
for (const [browserName, page] of pages) {
|
||||||
await switchToSignature(page);
|
await switchToSignature(page);
|
||||||
await page.click("#editorSignatureAddSignature");
|
await page.click("#editorSignatureAddSignature");
|
||||||
|
|
||||||
@ -376,8 +376,7 @@ describe("Signature Editor", () => {
|
|||||||
expect(pastedDescription)
|
expect(pastedDescription)
|
||||||
.withContext(`In ${browserName}`)
|
.withContext(`In ${browserName}`)
|
||||||
.toEqual(originalDescription);
|
.toEqual(originalDescription);
|
||||||
})
|
}
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user