Skip to content

TINKERPOP-3260: Browser testing for gremlin-javascript - #3674

Open
Iryna-Kahamlyk wants to merge 5 commits into
apache:masterfrom
Iryna-Kahamlyk:TINKERPOP-3260
Open

Iryna-Kahamlyk wants to merge 5 commits into
apache:masterfrom
Iryna-Kahamlyk:TINKERPOP-3260

Conversation

@Iryna-Kahamlyk

Copy link
Copy Markdown

JIRA: https://issues.apache.org/jira/browse/TINKERPOP-3260

Summary

Adds two-tier smoke testing:

  • Tier 1: Bundles the package and verifies that it loads successfully in headless Chromium, catching Node-only imports at build time.
  • Tier 2: Verifies that browser transport can successfully round-trip HTTP requests to a real Gremlin Server.

Also includes unit tests for the new deepEqual function and browser authentication, along with a new CI job that runs both smoke test tiers.

Comment thread gremlin-js/gremlin-javascript/test/browser/serve.mjs Fixed
@codecov-commenter

codecov-commenter commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.69%. Comparing base (a28cd1f) to head (77843b7).
⚠️ Report is 650 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3674      +/-   ##
============================================
+ Coverage     76.35%   76.69%   +0.33%     
- Complexity    13424    14336     +912     
============================================
  Files          1012     1037      +25     
  Lines         60341    64761    +4420     
  Branches       7075     7695     +620     
============================================
+ Hits          46076    49671    +3595     
- Misses        11548    11998     +450     
- Partials       2717     3092     +375     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants