3
3
import aquality .appium .mobile .application .AqualityServices ;
4
4
import aquality .appium .mobile .application .MobileModule ;
5
5
import org .testng .Assert ;
6
- import org .testng .annotations .AfterClass ;
7
- import org .testng .annotations .BeforeClass ;
8
- import org .testng .annotations .Listeners ;
9
- import org .testng .annotations .Test ;
10
6
import samples .android .apidemos .screens .AlertsMenuScreen ;
11
7
import samples .android .apidemos .screens .InvokeSearchScreen ;
12
8
import samples .android .apidemos .screens .MainMenuScreen ;
13
9
import samples .android .apidemos .screens .TwoButtonsAlert ;
14
- import testreport .ScreenshotListener ;
15
10
16
- @ Listeners (ScreenshotListener .class )
11
+ // @Listeners(ScreenshotListener.class)
17
12
public class AndroidBasicInteractionsTest {
18
13
19
- @ BeforeClass
14
+ // @BeforeClass
20
15
public void setUp () {
21
16
System .clearProperty ("profile" );
22
17
AqualityServices .initInjector (new MobileModule (AqualityServices ::getApplication ));
23
18
}
24
19
25
- @ AfterClass
20
+ // @AfterClass
26
21
public void tearDown () {
27
22
AqualityServices .getApplication ().quit ();
28
23
}
29
24
30
25
31
- @ Test
26
+ // @Test
32
27
public void testSendKeys () {
33
28
new MainMenuScreen ().startSearch ();
34
29
InvokeSearchScreen searchScreen = new InvokeSearchScreen ();
@@ -38,7 +33,7 @@ public void testSendKeys() {
38
33
Assert .assertEquals (searchScreen .getSearchResult (), query , "Search result don't match to entered query" );
39
34
}
40
35
41
- @ Test
36
+ // @Test
42
37
public void testOpensAlert () {
43
38
44
39
logStep ("Open the 'Alert Dialog' activity of the android app" );
0 commit comments