Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #73: Fix the github workflow tests #74

Merged
merged 3 commits into from
Dec 26, 2024
Merged

Fix #73: Fix the github workflow tests #74

merged 3 commits into from
Dec 26, 2024

Conversation

birdup000
Copy link
Owner

Resolves #73

The following modifications were applied:

<modification>
<file>.github/workflows/ci-cd.yml</file>
<operation>replace</operation>
<target>      - name: Install dependencies
      run: npm install --legacy-peer-deps

    - name: Install Playwright Browsers
      run: npx playwright install --with-deps

    - name: Run Playwright tests
      run: npm run test</target>
<content>      - name: Install dependencies
      run: npm install

    - name: Run Playwright tests
      run: npm run test</content>
</modification>
<modification>
<file>playwright.config.ts</file>
<operation>replace</operation>
<target>  webServer: {
  command: 'npm run dev',
  url: 'http://localhost:3000',
  reuseExistingServer: !process.env.CI,
},</target>
<content>  // webServer: {
//   command: 'npm run dev',
//   url: 'http://localhost:3000',
//   reuseExistingServer: !process.env.CI,
// },</content>
</modification>
<modification>
<file>package.json</file>
<operation>replace</operation>
<target>    "test": "playwright test",
  "test:ui": "playwright test --ui",
  "test:debug": "playwright test --debug",
  "install": "npm install --legacy-peer-deps"</target>
<content>    "pretest": "npx playwright install --with-deps",
  "test": "playwright test",
  "test:ui": "playwright test --ui",
  "test:debug": "playwright test --debug"</content>
</modification>

@birdup000 birdup000 merged commit 65f0e20 into main Dec 26, 2024
4 checks passed
@birdup000 birdup000 deleted the issue-73 branch December 27, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the github workflow tests
1 participant