diff --git a/tests/spec/108-compose-dialog.js b/tests/spec/108-compose-dialog.js index cadb37af..1dbe0f3f 100644 --- a/tests/spec/108-compose-dialog.js +++ b/tests/spec/108-compose-dialog.js @@ -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')