Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobadini committed Jun 29, 2023
1 parent aab5ab2 commit b33c1ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion frontend/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ STRAPI_IMAGE_DOMAIN=ifixit-dev-strapi-uploads.s3.us-west-1.amazonaws.com
NEXT_PUBLIC_ALGOLIA_PRODUCT_INDEX_NAME=dev_product_group_en
NEXT_PUBLIC_DEFAULT_STORE_CODE=test
NEXT_PUBLIC_FLAG__PRODUCT_PAGE_ENABLED=true
NEXT_PUBLIC_MATOMO_URL=https://matomo.ubreakit.com
NEXT_PUBLIC_MATOMO_URL=https://matomo.ubreakit.com
NODE_OPTIONS="--dns-result-order ipv4first"
4 changes: 1 addition & 3 deletions frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ const config: PlaywrightTestConfig = {
/* Run your local dev server before starting the tests */
webServer: {
cwd: process.env.CI ? './' : '../',
command: process.env.CI
? 'NODE_OPTIONS="--dns-result-order ipv4first" pnpm run start'
: 'pnpm run dev',
command: process.env.CI ? 'pnpm run start' : 'pnpm run dev',
port: 3000,
timeout: 120 * 1000,
/* Reuse the same server if on local dev */
Expand Down

0 comments on commit b33c1ec

Please sign in to comment.