File tree 3 files changed +3
-12
lines changed
TestCases.Mac.Tests/snapshots/mac
TestCases.Shared.Tests/Tests/Issues
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,8 @@ public class CollectionViewTabbedPageUITests : _IssuesUITest
9
9
const string Add1 = "Add1" ;
10
10
const string Add2 = "Add2" ;
11
11
const string Success = "Success" ;
12
- #if ANDROID
13
- const string FirstPage = "7700 FIRST PAGE" ;
14
- const string Tab2 = "TAB2" ;
15
- const string Tab3 = "TAB3" ;
16
- #else
17
- const string FirstPage = "7700 First Page" ;
18
12
const string Tab2 = "Tab2" ;
19
13
const string Tab3 = "Tab3" ;
20
- #endif
21
14
protected override bool ResetAfterEachTest => true ;
22
15
23
16
public CollectionViewTabbedPageUITests ( TestDevice device )
@@ -32,19 +25,17 @@ public void AddingItemToUnviewedCollectionViewShouldNotCrash()
32
25
{
33
26
App . WaitForElement ( Add1 ) ;
34
27
App . Tap ( Add1 ) ;
35
- App . WaitForElement ( Tab2 ) ;
36
- App . Tap ( Tab2 ) ;
28
+ App . TapTab ( Tab2 ) ;
37
29
App . WaitForElementTillPageNavigationSettled ( Success ) ;
38
30
}
39
31
40
32
[ Test ]
41
33
[ Category ( UITestCategories . CollectionView ) ]
42
- public void AddingGroupToUnviewedGroupedCollectionViewShouldNotCrash ( )
34
+ public void AddingGroupToUnviewedGroupedCollectionViewShouldNotCrash ( )
43
35
{
44
36
App . WaitForElement ( Add2 ) ;
45
37
App . Tap ( Add2 ) ;
46
- App . WaitForElement ( Tab3 ) ;
47
- App . Tap ( Tab3 ) ;
38
+ App . TapTab ( Tab3 ) ;
48
39
App . WaitForElementTillPageNavigationSettled ( Success ) ;
49
40
}
50
41
}
You can’t perform that action at this time.
0 commit comments