Skip to content

Commit

Permalink
build(ci): install dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
leoncik committed Aug 26, 2023
1 parent 72d16f4 commit abf8f65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/client-e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
# - args: [--global, gulp, prettier, typescript]
- name: Install dependencies
# run: pnpm ci
run: pnpm install --frozen-lockfile --only=production --ignore-scripts
# run: pnpm install --frozen-lockfile --only=production --ignore-scripts
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Install playwright browsers
run: pnpx playwright install --with-deps
- name: Fix install issues of @playwright/test (1)
run: pnpm rm playwright
- name: Fix install issues of @playwright/test (2)
run: pnpm add -D @playwright/test
# - name: Fix install issues of @playwright/test (1)
# run: pnpm rm playwright
# - name: Fix install issues of @playwright/test (2)
# run: pnpm add -D @playwright/test
- name: Run tests
run: pnpx playwright test

2 changes: 1 addition & 1 deletion client/e2e/home.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test.describe('Page layout', () => {
await expect(page.getByRole('table')).toBeVisible();
mockedJsonComposers.map(async (composer) => {
await expect(page.getByText(composer.first_name)).toBeVisible();
// await expect(page.getByText(composer.last_name)).toBeVisible();
await expect(page.getByText(composer.last_name)).toBeVisible();
});
});
});

0 comments on commit abf8f65

Please sign in to comment.