Skip to content

Commit

Permalink
temporarily set baseURL
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW committed Nov 29, 2023
1 parent ede8b20 commit 1ef8175
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('dotenv').config();
//require('dotenv').config();
import { defineConfig } from '@playwright/test';

const baseURL = process.env.PLAYWRIGHT_TESTS_BASE_URL!;
const baseURL = 'http://localhost:3000/';

export default defineConfig({
globalSetup: require.resolve('./src/tests/ui/global-setup'),
Expand Down
2 changes: 1 addition & 1 deletion src/tests/accessibility/accessibility.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let page: Page;
test.beforeAll(async ({ browser }) => {
const context = await browser.newContext();
page = await context.newPage();
await page.goto('http://localhost:3000/');
await page.goto('/');
});

test.describe('Accessibility', () => {
Expand Down

0 comments on commit 1ef8175

Please sign in to comment.