Skip to content

Use the waitForTextToBe helper function in the editor undo bar integration tests - #21949

Merged
timvandermeij merged 1 commit into
mozilla:masterfrom
timvandermeij:waitForTextToBe-undo
Sep 13, 2026
Merged

Use the waitForTextToBe helper function in the editor undo bar integration tests#21949
timvandermeij merged 1 commit into
mozilla:masterfrom
timvandermeij:waitForTextToBe-undo

Conversation

@timvandermeij

Copy link
Copy Markdown
Collaborator

This reduces the amount of code needed for the checks, and thereby makes the intent of the assertions clearer.

Note that, thanks to the FSI/PDI constants, we can now also compare the strings directly instead of having to do a manual replacement for the case where more than one annotation is removed.

…gration tests

This reduces the amount of code needed for the checks, and thereby makes
the intent of the assertions clearer.

Note that, thanks to the FSI/PDI constants, we can now also compare the
strings directly instead of having to do a manual replacement for the
case where more than one annotation is removed.
@codecov-commenter

codecov-commenter commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.31%. Comparing base (c0a774e) to head (6a53a8d).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21949   +/-   ##
=======================================
  Coverage   90.30%   90.31%           
=======================================
  Files         269      269           
  Lines       67546    67546           
=======================================
+ Hits        61000    61004    +4     
+ Misses       6546     6542    -4     
Flag Coverage Δ
integrationtest 69.35% <ø> (+0.01%) ⬆️
unittestcli 57.99% <ø> (-0.02%) ⬇️

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.

@Snuffleupagus Snuffleupagus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me, good idea.

@timvandermeij
timvandermeij merged commit b247146 into mozilla:master Sep 13, 2026
13 checks passed
@timvandermeij
timvandermeij deleted the waitForTextToBe-undo branch September 13, 2026 12:31
@timvandermeij
timvandermeij removed the request for review from calixteman September 13, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants