travis: try to fix flaky test
This commit is contained in:
parent
dac4d120f3
commit
f2b2eb1cec
|
@ -10,7 +10,7 @@ fixture`108-compose-dialog.js`
|
|||
|
||||
test('can compose using a dialog', async t => {
|
||||
await t.useRole(foobarRole)
|
||||
await scrollToStatus(t, 15)
|
||||
await scrollToStatus(t, 20)
|
||||
await t.expect(modalDialog.exists).notOk()
|
||||
.expect(composeButton.getAttribute('aria-label')).eql('Compose')
|
||||
await sleep(2000)
|
||||
|
@ -19,7 +19,7 @@ test('can compose using a dialog', async t => {
|
|||
.typeText(modalDialog.find('.compose-box-input'), 'hello from the modal')
|
||||
.click(modalDialog.find('.compose-box-button-compose'))
|
||||
.expect(modalDialog.exists).notOk()
|
||||
await sleep(5000)
|
||||
await sleep(10000)
|
||||
await scrollToTopOfTimeline(t)
|
||||
await t.hover(getNthStatus(0))
|
||||
await scrollContainerToTop()
|
||||
|
@ -31,7 +31,7 @@ test('can compose using a dialog', async t => {
|
|||
|
||||
test('can use emoji dialog within compose dialog', async t => {
|
||||
await t.useRole(foobarRole)
|
||||
await scrollToStatus(t, 15)
|
||||
await scrollToStatus(t, 20)
|
||||
await t.expect(composeButton.getAttribute('aria-label')).eql('Compose')
|
||||
await sleep(2000)
|
||||
await t.click(composeButton)
|
||||
|
@ -40,7 +40,7 @@ test('can use emoji dialog within compose dialog', async t => {
|
|||
.expect(modalDialog.find('.compose-box-input').value).eql(':blobpats: ')
|
||||
.click(modalDialog.find('.compose-box-button-compose'))
|
||||
.expect(modalDialog.exists).notOk()
|
||||
await sleep(5000)
|
||||
await sleep(10000)
|
||||
await scrollToTopOfTimeline(t)
|
||||
await t.hover(getNthStatus(0))
|
||||
await scrollContainerToTop()
|
||||
|
|
Loading…
Reference in New Issue