Skip to content

Commit 6c435cc

Browse files
committed
Stabilize reader font-size fidelity test
1 parent d204709 commit 6c435cc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/PrompterOne.Web.UITests.Reader/Teleprompter/TeleprompterFidelityTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ await fontSlider.EvaluateAsync(
274274
// lands, the paragraph must stop drifting and keep the active word
275275
// anchored to the guide.
276276
await page.WaitForTimeoutAsync(ParagraphMotionSettleDelayMilliseconds);
277+
await TeleprompterReaderAlignmentAssertions.AssertWordAlignedToGuideAsync(
278+
page,
279+
BrowserTestConstants.Teleprompter.ActiveWordSelector);
277280
var settled = await CaptureParagraphMotionSampleAsync(page);
278281
await page.WaitForTimeoutAsync(ImmediateAlignmentFollowUpDelayMilliseconds);
279282
var confirmed = await CaptureParagraphMotionSampleAsync(page);

0 commit comments

Comments
 (0)