Skip to content

test: make harness output portable and accurate - #706

Merged
itsbkm merged 1 commit into
mainfrom
codex/fix-test-harness-defects
Sep 10, 2026
Merged

itsbkm merged 1 commit into
mainfrom
codex/fix-test-harness-defects

Conversation

@itsbkm

@itsbkm itsbkm commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • write window-load retry evidence under the operating system temporary directory when EVIDENCE_DIR is unset
  • count assertIncludes checks so the discount settings summary reports 17/17 instead of 17/16

Verification

  • npm run test:window-load-retry
  • npm run test:integration-discount-settings
  • npm run lint (baseline: 1013 backend warnings, 5 frontend warnings; zero errors)
  • git diff --check

@coderabbitai

coderabbitai Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: dffc5207-260c-4e21-b968-8764cd50f495

📥 Commits

Reviewing files that changed from the base of the PR and between ace1ea0 and b661948.

📒 Files selected for processing (2)
  • tests/integration-discount-settings.test.ts
  • tests/window-load-retry.test.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR makes test-harness output portable and corrects assertion accounting.

  • Uses the operating system temporary directory as the default location for window-load retry evidence.
  • Counts assertIncludes checks so the discount-settings result summary accurately reports all 17 assertions.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
tests/integration-discount-settings.test.ts Correctly includes assertIncludes in the test’s total assertion count without changing pass/fail behavior.
tests/window-load-retry.test.ts Replaces a developer-specific evidence path with a portable OS temporary-directory fallback.

Reviews (2): Last reviewed commit: "test: make harness output portable and a..." | Re-trigger Greptile

@itsbkm
itsbkm force-pushed the codex/fix-test-harness-defects branch from ec325bc to b661948 Compare September 10, 2026 17:53
@itsbkm
itsbkm merged commit aa165b9 into main Sep 10, 2026
15 checks passed
@itsbkm
itsbkm deleted the codex/fix-test-harness-defects branch September 10, 2026 18:01
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.

1 participant