There was an error while loading. Please reload this page.
1 parent a7685b1 commit 3f93c57Copy full SHA for 3f93c57
.github/workflows/playwright.yml
@@ -39,4 +39,4 @@ jobs:
39
40
# Step to run tests
41
- name: Run tests
42
- run: npm run test:serial
+ run: npm run test:serial --ENV="qa"
Dockerfile
@@ -16,9 +16,5 @@ COPY . .
16
# Install Chrome browser for use with Playwright
17
RUN npx playwright install chrome
18
19
-# Instead of passing --ENV="qa" in the command line (CMD parameter),
20
-# we are setting the environment variable here itself
21
-ENV npm_config_ENV=qa
22
-
23
# Here, we run the test script defined in package.json (npm run test:serial)
24
CMD ["npm", "run", "test:serial"]
0 commit comments