Skip to content

Commit

Permalink
clear spaceStore after test
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed May 24, 2022
1 parent e909bd1 commit fa88ccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/cucumber/environment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { api, environment } from '../../support'
import { World } from './world'
import { state } from './shared'
import { Browser, chromium, firefox, webkit } from 'playwright'
import { spaceStore } from '../../support/store'

export { World }

Expand Down Expand Up @@ -104,6 +105,7 @@ After(async function (this: World, { result }: ITestCaseHookParameter) {

if (result.status !== Status.PASSED) {
await this.actorsEnvironment.close()
spaceStore.clear()
}
})

Expand Down

0 comments on commit fa88ccd

Please sign in to comment.