Skip to content

Commit

Permalink
72 e2e test with playwright (#89)
Browse files Browse the repository at this point in the history
* e2e tests

* fix of typechceck error

* forgot to remove unused env var
  • Loading branch information
JurreBrandsenInfoSupport committed Apr 11, 2024
1 parent 08f6eec commit 437c912
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const env = createEnv({
NEXTAUTH_SECRET: z.string(),
NEXTAUTH_URL: z.string(),
FRESH_RUN: z.string(),
SIGNIN_METHOD: z.string(),
EMAIL: z.string(),
PASSWORD: z.string(),

Expand Down Expand Up @@ -47,7 +46,6 @@ export const env = createEnv({
NEXTAUTH_URL: process.env.NEXTAUTH_URL,
FRESH_RUN: process.env.FRESH_RUN,
NODE_ENV: process.env.NODE_ENV,
SIGNIN_METHOD: process.env.SIGNIN_METHOD,
EMAIL: process.env.EMAIL,
PASSWORD: process.env.PASSWORD,
},
Expand Down
3 changes: 0 additions & 3 deletions tests/tech-survey.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ const navigateAndCheckSurveyPage = async (
selectedRoles = roles;
} else {
selectedRoles = (await landingPage.selectRandomRoles()).filter(

(role): role is string => typeof role === "string",
);
}


await landingPage.navigateToSurveyPage();
await surveyPage.getCurrentURL();
const sortedSelectedRoles =
Expand Down

0 comments on commit 437c912

Please sign in to comment.