Skip to content

Commit

Permalink
fix: fix import path in test (#379)
Browse files Browse the repository at this point in the history
Because

- the env import path is wrong

This commit

- fix import path in test
- Add vim into playwright container
  • Loading branch information
EiffelFly committed Mar 22, 2023
1 parent bbf8322 commit 7463895
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile.playwright
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ RUN npm install -g pnpm@7.5.0

COPY .npmrc package.json pnpm-lock.yaml ./

# Install vim for debugging
RUN apt-get update
RUN apt-get install vim -y

RUN pnpm install --frozen-lockfile

RUN addgroup --system --gid 1001 nodejs
Expand Down
2 changes: 1 addition & 1 deletion integration-test/helper/login.setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { env } from "@/utils";
import { env } from "./index";
import { test } from "@playwright/test";

test("mock onboarded cookie", async ({ page }) => {
Expand Down

0 comments on commit 7463895

Please sign in to comment.