@@ -26,23 +26,24 @@ public void ShouldUpdateWallpaper()
2626 {
2727 driver . FindElementByXPath ( "//Window[@Name='Select Language']" ) . Click ( ) ;
2828 driver . FindElementByXPath ( "//Button[@Name='OK']" ) . Click ( ) ;
29- Thread . Sleep ( TimeSpan . FromSeconds ( 5 ) ) ;
29+ Thread . Sleep ( TimeSpan . FromSeconds ( 10 ) ) ;
3030
3131 driver . SwitchTo ( ) . Window ( driver . WindowHandles [ 0 ] ) ;
3232 driver . FindElementByXPath ( "//Window[@Name='Configure Schedule']" ) . Click ( ) ;
3333 driver . FindElementByAccessibilityId ( "radioButton1" ) . Click ( ) ;
3434 driver . FindElementByAccessibilityId ( "locationBox" ) . SendKeys ( "New York NY" ) ;
3535 driver . FindElementByXPath ( "//Button[@Name='OK']" ) . Click ( ) ;
36- Thread . Sleep ( TimeSpan . FromSeconds ( 2 ) ) ;
36+ Thread . Sleep ( TimeSpan . FromSeconds ( 5 ) ) ;
3737 driver . SwitchTo ( ) . Window ( driver . WindowHandles . Last ( ) ) ;
3838 driver . FindElementByXPath ( "//Button[@Name='Yes']" ) . Click ( ) ;
39- Thread . Sleep ( TimeSpan . FromSeconds ( 5 ) ) ;
39+ Thread . Sleep ( TimeSpan . FromSeconds ( 10 ) ) ;
4040
4141 driver . SwitchTo ( ) . Window ( driver . WindowHandles [ 0 ] ) ;
4242 driver . FindElementByXPath ( "//Window[@Name='Select Theme']" ) . Click ( ) ;
4343 driver . FindElementByAccessibilityId ( "listView1" ) . SendKeys ( Keys . Control + Keys . End ) ;
4444 driver . FindElementByXPath ( "//ListItem[@Name='Windows 11']" ) . Click ( ) ;
4545 driver . FindElementByXPath ( "//Button[@Name='Apply']" ) . Click ( ) ;
46+ Thread . Sleep ( TimeSpan . FromSeconds ( 5 ) ) ;
4647
4748 Assert . Contains ( [ "scripts" , "settings.json" , "themes" ] ,
4849 Directory . GetFileSystemEntries ( Path . GetDirectoryName ( AppPath ) ) . Select ( Path . GetFileName ) . ToArray ( ) ) ;
0 commit comments