fix(workflow): ensure E2E test collection dependencies are installed in GitHub Actions

This commit is contained in:
Maintainer Bruno
2025-06-17 13:40:06 +05:30
parent a05f7cb686
commit 0eda1b761d
2 changed files with 6 additions and 2 deletions

View File

@@ -113,6 +113,10 @@ jobs:
sudo chown root /home/runner/work/bruno/bruno/node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 /home/runner/work/bruno/bruno/node_modules/electron/dist/chrome-sandbox
- name: Install dependencies for test collection environment
run: |
npm ci --prefix packages/bruno-tests/collection
- name: Build libraries
run: |
npm run build:graphql-docs

View File

@@ -21,7 +21,7 @@ test.describe.parallel('Run Testbench Requests', () => {
.slice(1);
await expect(parseInt(failed)).toBe(0);
await expect(parseInt(passed)).toBe(parseInt(totalRequests) - parseInt(skipped) - 1);
await expect(parseInt(passed)).toBe(parseInt(totalRequests) - parseInt(skipped) - parseInt(failed));
});
test.fixme('Run bruno-testbench in Safe Mode', async ({ pageWithUserData: page }) => {
@@ -44,6 +44,6 @@ test.describe.parallel('Run Testbench Requests', () => {
.slice(1);
await expect(parseInt(failed)).toBe(0);
await expect(parseInt(passed)).toBe(parseInt(totalRequests) - parseInt(skipped) - 1);
await expect(parseInt(passed)).toBe(parseInt(totalRequests) - parseInt(skipped) - parseInt(failed));
});
});