Skip to content

Commit f9ce8e9

Browse files
committed
Oops, fix a typo
1 parent 1a9884d commit f9ce8e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/CSF.Screenplay.Selenium.Tests/Actions/WaitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public async Task WaitingForSufficientTimeShouldSucceed(IStage stage)
3636
await Given(webster).WasAbleTo(OpenTheUrl(testPage));
3737
await Given(webster).WasAbleTo(EnterTheText(GetDelayMilliseconds(webster).ToString()).Into(delayTimer));
3838
await When(webster).AttemptsTo(ClickOn(clickableButton));
39-
await Then(webster).Should(WaitUntil(displayText.Has().Text("Clicked, and {GetDelayMilliseconds(webster)}ms has elapsed"))
39+
await Then(webster).Should(WaitUntil(displayText.Has().Text($"Clicked, and {GetDelayMilliseconds(webster)}ms has elapsed"))
4040
.ForAtMost(TimeSpan.FromMilliseconds(GetSufficientWaitMilliseconds(webster)))
4141
);
4242
var contents = await Then(webster).Should(ReadFromTheElement(displayText).TheText());

0 commit comments

Comments
 (0)