fix tests
This commit is contained in:
parent
e3b6a9b758
commit
cd8293925e
|
@ -13,6 +13,7 @@ function unrollThread (user, prefix, privacy, thread) {
|
||||||
post: {
|
post: {
|
||||||
internalId: prefix + key,
|
internalId: prefix + key,
|
||||||
text: key,
|
text: key,
|
||||||
|
privacy: privacy,
|
||||||
inReplyTo: parentKey && (prefix + parentKey)
|
inReplyTo: parentKey && (prefix + parentKey)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -73,7 +73,7 @@ test('Forked threads look correct online and offline', async t => {
|
||||||
.hover(getFirstVisibleStatus())
|
.hover(getFirstVisibleStatus())
|
||||||
await navigateToBazAccount(t)
|
await navigateToBazAccount(t)
|
||||||
await validateForkedThread(t)
|
await validateForkedThread(t)
|
||||||
await t.navigateTo('/')
|
await t.navigateTo('/') // clears in-memory cache while still preserving IDB cache
|
||||||
.hover(getFirstVisibleStatus())
|
.hover(getFirstVisibleStatus())
|
||||||
await navigateToBazAccount(t)
|
await navigateToBazAccount(t)
|
||||||
await forceOffline()
|
await forceOffline()
|
||||||
|
|
Loading…
Reference in a new issue