File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 77//
88
99import XCTest
10- @testable import ios_base_Debug
1110
1211class ios_baseUITests : XCTestCase {
1312
@@ -21,6 +20,7 @@ class ios_baseUITests: XCTestCase {
2120 app. launchArguments = [ " Automation Test " ]
2221
2322 try ? networkMocker. setUp ( )
23+ networkMocker. stubLogOut ( )
2424 app. logOutIfNeeded ( in: self )
2525 }
2626
@@ -87,13 +87,6 @@ class ios_baseUITests: XCTestCase {
8787
8888 alert. buttons. allElementsBoundByIndex. first? . tap ( )
8989 }
90-
91- let logOutButton = app. buttons [ " LogoutButton " ]
92- waitFor ( element: logOutButton, timeOut: 5 )
93-
94- networkMocker. stubLogOut ( )
95-
96- logOutButton. tap ( )
9790 }
9891
9992 func testSignInSuccess( ) {
@@ -107,12 +100,6 @@ class ios_baseUITests: XCTestCase {
107100
108101 let logOutButton = app. buttons [ " LogoutButton " ]
109102 waitFor ( element: logOutButton, timeOut: 10 )
110-
111- networkMocker. stubLogOut ( )
112- logOutButton. forceTap ( )
113-
114- let goToSignInButton = app. buttons [ " GoToSignInButton " ]
115- waitFor ( element: goToSignInButton, timeOut: 10 )
116103 }
117104
118105 func testSignInFailure( ) {
You can’t perform that action at this time.
0 commit comments