Archived
1
0

refactor: move test dir to jest e2e config

This commit is contained in:
Joe Previte
2021-03-30 12:24:51 -07:00
parent 6b3db06c7a
commit bd55cb94be
5 changed files with 32 additions and 18 deletions

View File

@ -1,5 +1,5 @@
import { chromium, Page, Browser, BrowserContext } from "playwright"
import { CODE_SERVER_ADDRESS, PASSWORD, E2E_VIDEO_DIR } from "../utils/constants"
import { CODE_SERVER_ADDRESS, PASSWORD } from "../utils/constants"
describe("logout", () => {
let browser: Browser
@ -8,9 +8,7 @@ describe("logout", () => {
beforeAll(async () => {
browser = await chromium.launch()
context = await browser.newContext({
recordVideo: { dir: E2E_VIDEO_DIR },
})
context = await browser.newContext()
})
afterAll(async () => {