File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public static void TearDown()
6363 [ TestInitialize ]
6464 public virtual void TestInit ( )
6565 {
66- // Attempt to go back to the main page in case Alarm & Clock app is started in EditAlarm view
66+ // Attempt to go back to the main page in case Alarms & Clock app is started in EditAlarm view
6767 try
6868 {
6969 alarmTabElement = session . FindElementByAccessibilityId ( "AlarmPivotItem" ) ;
@@ -107,6 +107,7 @@ protected void DeletePreviouslyCreatedAlarmEntry(string alarmName)
107107 {
108108 var alarmEntry = session . FindElementByXPath ( $ "//ListItem[starts-with(@Name, \" { alarmName } \" )]") ;
109109 session . Mouse . ContextClick ( alarmEntry . Coordinates ) ;
110+ Thread . Sleep ( TimeSpan . FromSeconds ( 3 ) ) ;
110111 session . FindElementByName ( "Delete" ) . Click ( ) ;
111112 }
112113 catch
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public void GetElementDisplayedState()
5858
5959 // Open a new alarm page and verify that 00 minute is displayed while 30 minute is hidden in the time picker
6060 addAlarmButton . Click ( ) ;
61+ System . Threading . Thread . Sleep ( TimeSpan . FromSeconds ( 1 ) ) ;
6162 WindowsElement minuteLoopingSelector = session . FindElementByAccessibilityId ( "MinuteLoopingSelector" ) ;
6263 Assert . IsTrue ( minuteLoopingSelector . FindElementByName ( "00" ) . Displayed ) ;
6364 Assert . IsFalse ( minuteLoopingSelector . FindElementByName ( "30" ) . Displayed ) ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public void NavigateForward_Browser()
4242 {
4343 session = Utility . CreateNewSession ( CommonTestSettings . EdgeAppId , "-private " + CommonTestSettings . EdgeAboutFlagsURL ) ;
4444 session . Manage ( ) . Timeouts ( ) . ImplicitlyWait ( TimeSpan . FromSeconds ( 2 ) ) ;
45- Thread . Sleep ( TimeSpan . FromSeconds ( 2 ) ) ;
45+ Thread . Sleep ( TimeSpan . FromSeconds ( 3 ) ) ;
4646 var originalTitle = session . Title ;
4747 Assert . AreNotEqual ( string . Empty , originalTitle ) ;
4848
You can’t perform that action at this time.
0 commit comments