diff --git a/isso/js/tests/screenshots/screenshots.test.js b/isso/js/tests/screenshots/screenshots.test.js index f447938e..2a51dc13 100644 --- a/isso/js/tests/screenshots/screenshots.test.js +++ b/isso/js/tests/screenshots/screenshots.test.js @@ -83,6 +83,7 @@ test('Screenshot with inserted comment', async () => { }); // Delete comment again + await page.waitForSelector('#isso-1 > .isso-text-wrapper > .isso-comment-footer > .isso-delete'); await expect(page).toClick('#isso-1 > .isso-text-wrapper > .isso-comment-footer > .isso-delete'); // Need to click once to surface "confirm" and then again to confirm await expect(page).toClick('#isso-1 > .isso-text-wrapper > .isso-comment-footer > .isso-delete');