Skip to content

Commit 98695bb

Browse files
committed
test: advance clock past live region fade before final snapshot
1 parent 6523036 commit 98695bb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

__tests__/html2/accessibility/sendBox/alertEmptyMessage.singleLineTextBox.enter.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272

7373
// THEN: Both error and status messages should be empty.
7474
expect(errorMessage.innerText).toBe('');
75+
76+
// THEN: After live region fade, the live region should be empty.
77+
clock.tick(10000);
7578
await host.snapshot('local');
7679
});
7780
</script>

0 commit comments

Comments
 (0)