Skip to content

Commit

Permalink
Made small changes to fix failing playwright tests (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneha-sirure authored Dec 11, 2024
1 parent 14d31eb commit b6c7700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playwright/pages/profile/delegationPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class instantiateResource {
}

// Close form if the button is available
await this.page.getByTestId('form-close-button').click();
await this.page.getByLabel('Lukk skjema').click();
await this.page.goto(process.env.BASE_URL + '/ui/profile');
}
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion playwright/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dotenv.config({
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const config: PlaywrightTestConfig = {
testMatch: ['playwright/e2eTests/*.spec.ts'],
timeout: 30 * 1000, //30 seconds default timeout
timeout: 60 * 1000, //30 seconds default timeout
use: {
headless: true,
// screenshot: 'only-on-failure',
Expand Down

0 comments on commit b6c7700

Please sign in to comment.