Merge pull request #19671 from timvandermeij/integration-tests-signature-intermittent

Fix the "Signature Editor Basic operations must check copy and paste" integration test
This commit is contained in:
Tim van der Meij 2025-03-16 21:35:25 +01:00 committed by GitHub
commit 92d7b6d09f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}) }
);
}); });
}); });