We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6337126 commit 1a9884dCopy full SHA for 1a9884d
1 file changed
Tests/CSF.Screenplay.Selenium.Tests/Actions/WaitTests.cs
@@ -36,7 +36,7 @@ public async Task WaitingForSufficientTimeShouldSucceed(IStage stage)
36
await Given(webster).WasAbleTo(OpenTheUrl(testPage));
37
await Given(webster).WasAbleTo(EnterTheText(GetDelayMilliseconds(webster).ToString()).Into(delayTimer));
38
await When(webster).AttemptsTo(ClickOn(clickableButton));
39
- await Then(webster).Should(WaitUntil(displayText.Has().Text("Clicked, and 250ms has elapsed"))
+ await Then(webster).Should(WaitUntil(displayText.Has().Text("Clicked, and {GetDelayMilliseconds(webster)}ms has elapsed"))
40
.ForAtMost(TimeSpan.FromMilliseconds(GetSufficientWaitMilliseconds(webster)))
41
);
42
var contents = await Then(webster).Should(ReadFromTheElement(displayText).TheText());
0 commit comments