Skip to content

Commit

Permalink
Add temporary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoumpierre committed Feb 4, 2025
1 parent c37bab6 commit b518253
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/e2e-pw/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ const getBaseUrl = () => {
return BASE_URL ?? 'http://localhost:8084';
};

// eslint-disable-next-line no-console
console.log( `Playwright baseURL: ${ getBaseUrl() }` );

/**
* See https://playwright.dev/docs/test-configuration.
*/
Expand Down
3 changes: 3 additions & 0 deletions tests/e2e-pw/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ export const getShopper = async (
shopperPage: Page;
shopperContext: BrowserContext;
} > => {
// eslint-disable-next-line no-console
console.log( `baseURL: ${ baseURL }` );

if ( asNewCustomer ) {
const restApi = new RestAPI( baseURL );
await restApi.recreateCustomer(
Expand Down

0 comments on commit b518253

Please sign in to comment.