make test less flaky

This commit is contained in:
Nolan Lawson 2018-03-11 12:10:59 -07:00
parent e397bf3b3b
commit a2ac4f1735
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ test('inserts media', async t => {
.click(getNthDeleteMediaButton(3)) .click(getNthDeleteMediaButton(3))
.click(getNthDeleteMediaButton(2)) .click(getNthDeleteMediaButton(2))
.click(getNthDeleteMediaButton(1)) .click(getNthDeleteMediaButton(1))
.expect(mediaButton.hasAttribute('disabled')).notOk()
}) })
test('removes media', async t => { test('removes media', async t => {