You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run "bunx portless --help" / Then exits code 0
execSync("bunx portless --help") — throws on non-zero exit
And the output should include usage information
expect(result.toLowerCase()).toContain("usage")
Notes
All tests are filesystem/CLI-based — no browser automation needed for this PR.
Scenario 4 performs a real CLI invocation of bunx portless --help, giving high confidence the dependency is correctly installed and functional.
No flakiness observed. All 4 tests ran deterministically with sub-second total execution time.
Full Playwright output
Running 4 tests using 1 worker
✓ 1 .attractor/qa-report/gherkin.spec.ts:31:7 › AC #1 — portless is listed as a root devDependency › Scenario 1: portless is listed as a root devDependency (3ms)
✓ 2 .attractor/qa-report/gherkin.spec.ts:52:7 › AC #2 — Root package.json has a dev:portless script › Scenario 2: Root package.json has a dev:portless script (3ms)
✓ 3 .attractor/qa-report/gherkin.spec.ts:72:7 › AC #3 — bun install succeeds with no errors › Scenario 3: bun install succeeds with no errors (1ms)
✓ 4 .attractor/qa-report/gherkin.spec.ts:93:7 › AC #4 — bunx portless --help works from the repo root › Scenario 4: bunx portless --help exits with code 0 (188ms)
4 passed (862ms)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
QA Report
PR: #38 — feat: install portless and add root dev:portless script
Branch: feat/install-portless
Date: 2025-07-15
Verdict: ✅ PASS
Gherkin Scenarios
Total: 4 passed, 0 failed (862 ms, 1 worker)
Failures
None. All 4 scenarios passed.
Screenshots
No screenshots were captured. Playwright only saves screenshots on failure, and all tests passed.
Gherkin ↔ Playwright Mapping
Scenario 1 — portless is listed as a root devDependency
expect(fileExists("package.json")).toBe(true)expect(pkg.devDependencies.portless).toBeDefined()+ semver range checkScenario 2 — Root package.json has a dev:portless script
expect(fileExists("package.json")).toBe(true)expect(pkg.scripts["dev:portless"]).toBeDefined()expect(pkg.scripts["dev:portless"]).toBe("portless dev")Scenario 3 — bun install succeeds with no errors
expect(fileExists("package.json")).toBe(true)bun.lockexistenceexpect(fileExists("node_modules/portless")).toBe(true)Scenario 4 — bunx portless --help exits with code 0
expect(fileExists("node_modules/portless")).toBe(true)execSync("bunx portless --help")— throws on non-zero exitexpect(result.toLowerCase()).toContain("usage")Notes
bunx portless --help, giving high confidence the dependency is correctly installed and functional.Full Playwright output
Beta Was this translation helpful? Give feedback.
All reactions