fix tests

This commit is contained in:
Nolan Lawson 2018-02-25 23:38:06 -08:00
parent 3d921f3bfe
commit dae8054276

View file

@ -28,6 +28,7 @@ test('favorites a status', async t => {
.expect(getUrl()).contains('/notifications') .expect(getUrl()).contains('/notifications')
.click(homeNavButton) .click(homeNavButton)
.expect(getUrl()).eql('http://localhost:4002/') .expect(getUrl()).eql('http://localhost:4002/')
.hover(getNthStatus(4))
.expect(getNthFavorited(4)).eql('true') .expect(getNthFavorited(4)).eql('true')
.click(getNthFavoriteButton(4)) .click(getNthFavoriteButton(4))
.expect(getNthFavorited(4)).eql('false') .expect(getNthFavorited(4)).eql('false')