chore: re-enable flaky tests (#2591)

* chore: re-enable flaky tests

* chore: re-enable vault tests in ci

* chore: add missing dep

* chore: fix building web on PR

* chore: add sleep to allow deleting account to propagate
This commit is contained in:
Karol Sójko
2023-10-18 13:48:14 +02:00
committed by GitHub
parent d39d5da17e
commit ac353a47ba
5 changed files with 43 additions and 39 deletions

View File

@@ -32,6 +32,7 @@
"webpack": "*"
},
"dependencies": {
"@mozilla/readability": "^0.4.2"
"@mozilla/readability": "^0.4.2",
"@standardnotes/snjs": "workspace:^"
}
}

View File

@@ -5,7 +5,7 @@ import * as Collaboration from '../lib/Collaboration.js'
chai.use(chaiAsPromised)
const expect = chai.expect
describe.skip('designated survival', function () {
describe('designated survival', function () {
this.timeout(Factory.ThirtySecondTimeout)
let context
@@ -337,6 +337,8 @@ describe.skip('designated survival', function () {
Factory.handlePasswordChallenges(context.application, context.password)
await context.application.user.deleteAccount()
await Factory.sleep(2)
await secondContext.syncAndAwaitNotificationsProcessing()
await thirdContext.syncAndAwaitNotificationsProcessing()