Skip to content

Commit

Permalink
e2e:jest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcliff committed May 22, 2024
1 parent f19c2bd commit 556013e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/fixtures/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const api: WorkerFixture<APIRequestContext, PlaywrightWorkerArgs> = async
const ctx = await playwright.request.newContext({
baseURL: `${process.env.E2E_BASE_URL}/ws/rest/v1/`,
httpCredentials: {
username: process.env.E2E_USER_ADMIN_USERNAME,
password: process.env.E2E_USER_ADMIN_PASSWORD,
username: process.env.E2E_USER_ADMIN_USERNAME!,
password: process.env.E2E_USER_ADMIN_PASSWORD!,
},
});

Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ module.exports = {
},
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
testEnvironment: 'jsdom',
testPathIgnorePatterns: [path.resolve(__dirname, 'e2e')],
};

0 comments on commit 556013e

Please sign in to comment.