File tree Expand file tree Collapse file tree
Tests/CSF.Screenplay.Selenium.Tests/Actions Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) ) ;
You can’t perform that action at this time.
0 commit comments