Skip to content

Added regression test for geom_text interactive updates (#345) - #346

Open
ANAMASGARD wants to merge 1 commit into
masterfrom
fix-345-geom-text-interactive-updates
Open

Added regression test for geom_text interactive updates (#345)#346
ANAMASGARD wants to merge 1 commit into
masterfrom
fix-345-geom-text-interactive-updates

Conversation

@ANAMASGARD

Copy link
Copy Markdown
Contributor

Summary

  • Added a minimal Chromote renderer test for setMultilineText() breaks geom_text interactive updates #345: geom_text with a stable D3 key, showSelected, and non-zero duration must move its rendered position after clicking a geom_tallrect.
  • Protects Toby’s existing .text() fix on master from regressing if setMultilineText() is re-enabled for geom_text.

Closes #345

Local result

  • Local Chromote run of test-renderer3-geom-text-interactive-updates.R
image

Minimal chromote test: stable key + duration + showSelected must move
rendered geom_text position when clicking geom_tallrect.

Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004@gmail.com>
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.10%. Comparing base (94b82ff) to head (dae9d95).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #346   +/-   ##
=======================================
  Coverage   73.10%   73.10%           
=======================================
  Files         165      165           
  Lines        8947     8947           
=======================================
  Hits         6541     6541           
  Misses       2406     2406           
Flag Coverage Δ
javascript 81.12% <ø> (ø)
r 69.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

setMultilineText() breaks geom_text interactive updates

1 participant