test: fix flaky test

check-marks-for-icon-buttons
Nolan Lawson 2022-11-24 08:42:16 -08:00
rodzic 3bc3ba025c
commit 405eefc543
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -41,8 +41,8 @@ test('shows account profile 3', async t => {
.expect(accountProfileName.innerText).contains('foobar')
.expect(accountProfileUsername.innerText).contains('@foobar')
// can't follow or be followed by your own account
.expect(accountProfileFollowedBy.innerText).eql('')
.expect($('.account-profile .account-profile-follow').innerText).eql('')
.expect(accountProfileFollowedBy.innerText).match(/\s*/)
.expect($('.account-profile .account-profile-follow').innerText).match(/\s*/)
})
test('shows account profile statuses', async t => {