File tree Expand file tree Collapse file tree 6 files changed +27
-11
lines changed
Expand file tree Collapse file tree 6 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 22using UnityEditor ;
33using UnityEditor . SceneManagement ;
44using AltTester . AltTesterUnitySDK . Editor ;
5- using AltTester . AltTesterUnitySDK ;
65using System ;
6+ using AltTester . AltTesterUnitySDK . Commands ;
7+ using AltTester . AltTesterUnitySDK . Driver ;
78
89public class MacBuilder
910{
Original file line number Diff line number Diff line change 22using UnityEditor ;
33using UnityEditor . SceneManagement ;
44using AltTester . AltTesterUnitySDK . Editor ;
5- using AltTester . AltTesterUnitySDK ;
65using System ;
7- using System . IO ;
6+ using AltTester . AltTesterUnitySDK . Commands ;
7+ using AltTester . AltTesterUnitySDK . Driver ;
88
99public class MobileBuilder
1010{
Original file line number Diff line number Diff line change 22using UnityEditor ;
33using UnityEditor . SceneManagement ;
44using AltTester . AltTesterUnitySDK . Editor ;
5- using AltTester . AltTesterUnitySDK ;
65using System ;
6+ using AltTester . AltTesterUnitySDK . Commands ;
7+ using AltTester . AltTesterUnitySDK . Driver ;
78
89public class WindowsBuilder
910{
Original file line number Diff line number Diff line change 11{
22 "dependencies" : {
3- "com.alttester.sdk" : " 2.1.1 " ,
3+ "com.alttester.sdk" : " 2.2.0 " ,
44 "com.cysharp.unitask" : " 2.3.3" ,
5- "com.immutable.passport" : " file:../../src/Packages/Passport" ,
65 "com.immutable.api.zkevm" : " file:../../src/Packages/ZkEvmApi" ,
76 "com.immutable.marketplace" : " file:../../src/Packages/Marketplace" ,
7+ "com.immutable.passport" : " file:../../src/Packages/Passport" ,
88 "com.unity.ai.navigation" : " 1.1.4" ,
99 "com.unity.editorcoroutines" : " 1.0.0" ,
10+ "com.unity.ide.rider" : " 3.0.20" ,
1011 "com.unity.ide.visualstudio" : " 2.0.21" ,
1112 "com.unity.ide.vscode" : " 1.2.5" ,
12- "com.unity.ide.rider" : " 3.0.20" ,
1313 "com.unity.test-framework" : " 1.3.0" ,
1414 "com.unity.testtools.codecoverage" : " 1.2.5" ,
1515 "com.unity.textmeshpro" : " 3.0.9" ,
7070 ]
7171 }
7272 ]
73- }
73+ }
Original file line number Diff line number Diff line change 11{
22 "dependencies" : {
33 "com.alttester.sdk" : {
4- "version" : " 2.1.1 " ,
4+ "version" : " 2.2.0 " ,
55 "depth" : 0 ,
66 "source" : " registry" ,
77 "dependencies" : {},
Original file line number Diff line number Diff line change 1010from selenium .webdriver .support .ui import WebDriverWait
1111from selenium .webdriver .support import expected_conditions as EC
1212
13- from alttester import AltDriver , AltReversePortForwarding , By
13+ from alttester import *
14+
15+ from test import UnityTest
1416
1517sys .path .insert (0 , str (Path (__file__ ).resolve ().parent .parent / 'src' ))
1618from fetch_otp import EMAIL , fetch_code
1719
1820# To run this test on an actual Android device: appium --base-path /wd/hub --allow-insecure chromedriver_autodownload
19- class TestBase (unittest . TestCase ):
21+ class TestBase (UnityTest ):
2022 altdriver = None
2123 appium_driver = None
2224
@@ -74,3 +76,15 @@ def test_1_pkce_login(self):
7476
7577 # Wait for authenticated screen
7678 self .altdriver .wait_for_current_scene_to_be ("AuthenticatedScene" )
79+
80+ def test_2_other_functions (self ):
81+ self .test_0_other_functions ()
82+
83+ def test_3_passport_functions (self ):
84+ self .test_1_passport_functions ()
85+
86+ def test_4_imx_functions (self ):
87+ self .test_2_imx_functions ()
88+
89+ def test_5_zkevm_functions (self ):
90+ self .test_3_zkevm_functions ()
You can’t perform that action at this time.
0 commit comments