improve tests
This commit is contained in:
parent
58b700788c
commit
ddd32a2223
|
@ -53,7 +53,7 @@
|
|||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 10px;
|
||||
z-index: 10;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.compose-content-warning-wrapper {
|
||||
|
|
|
@ -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')
|
||||
.click(composeButton)
|
||||
await sleep(1000)
|
||||
await t.click(composeButton)
|
||||
.expect(modalDialog.hasAttribute('aria-hidden')).notOk()
|
||||
.typeText(modalDialog.find('.compose-box-input'), 'hello from the modal')
|
||||
.click(modalDialog.find('.compose-box-button-compose'))
|
||||
|
|
Loading…
Reference in New Issue