make test less flaky
This commit is contained in:
parent
e397bf3b3b
commit
a2ac4f1735
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue