make test less flakey
This commit is contained in:
parent
5a0c4897b0
commit
42a467ffc8
|
@ -11,7 +11,8 @@ test('can compose using a dialog', async t => {
|
|||
await t.useRole(foobarRole)
|
||||
await scrollToStatus(t, 15)
|
||||
await t.expect(modalDialog.getAttribute('aria-hidden')).eql('true')
|
||||
await sleep(1000)
|
||||
.expect(composeButton.getAttribute('aria-label')).eql('Compose')
|
||||
await sleep(2000)
|
||||
await t.click(composeButton)
|
||||
.expect(modalDialog.hasAttribute('aria-hidden')).notOk()
|
||||
.typeText(modalDialog.find('.compose-box-input'), 'hello from the modal')
|
||||
|
|
Loading…
Reference in a new issue