Skip to content

Commit

Permalink
clean ups and improve paths
Browse files Browse the repository at this point in the history
  • Loading branch information
framitdavid committed Dec 11, 2023
1 parent 2b7a99e commit 4a9975f
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion frontend/testing/.eslintignore

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/testing/playwright/helpers/Routes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export class Routes {
public readonly loginPage: string = "/";
public readonly altinnLoginPage: string = "/";
public readonly dashboard: string = "/dashboard";
}
3 changes: 0 additions & 3 deletions frontend/testing/playwright/helpers/routeUtils.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class LoginPage extends BasePage {
}

public async goToAltinnLoginPage(): Promise<void> {
await this._page.goto(this.loginPage);
await this._page.goto(this.altinnLoginPage);
}

public async goToGiteaLoginPage(): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { config } from 'dotenv';
config();

export default defineConfig({
testDir: './frontend/testing/playwright',
testDir: './integration',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"test": "jest --maxWorkers=50% --config=frontend/jest.config.js",
"test:ci": "jest --ci --coverage --max-workers=2 --cacheDirectory=$(yarn config get cacheFolder) --config=frontend/jest.config.js",
"typecheck": "yarn workspaces foreach -A run typecheck",
"playwright-e2e": "playwright test"
"playwright-e2e": "playwright test --config ./frontend/testing/playwright/playwright.config.ts"
},
"syncpack": {
"semverRange": ""
Expand Down

0 comments on commit 4a9975f

Please sign in to comment.