diff --git a/sample/Tests/test/test.py b/sample/Tests/test/test.py index c4659a9b..284c6498 100644 --- a/sample/Tests/test/test.py +++ b/sample/Tests/test/test.py @@ -79,20 +79,20 @@ def test_2_imx_functions(self): # Register off-chain # Wait up to 3 times for "Passport account already registered" to appear -# attempts = 0 -# while attempts < 3: -# self.altdriver.find_object(By.NAME, "RegisterOffchainBtn").tap() -# self.assertEqual("Registering off-chain...", output.get_text()) -# time.sleep(20) -# if "Passport account already registered" in output.get_text(): -# break -# attempts += 1 -# -# # Assert that the desired text is found after waiting -# self.assertTrue( -# "Passport account already registered" in output.get_text(), -# f"Expected 'Passport account already registered' not found. Actual output: '{output.get_text()}'" -# ) + attempts = 0 + while attempts < 3: + self.altdriver.find_object(By.NAME, "RegisterOffchainBtn").tap() + self.assertEqual("Registering off-chain...", output.get_text()) + time.sleep(20) + if "Passport account already registered" in output.get_text(): + break + attempts += 1 + + # Assert that the desired text is found after waiting + self.assertTrue( + "Passport account already registered" in output.get_text(), + f"Expected 'Passport account already registered' not found. Actual output: '{output.get_text()}'" + ) # Get address self.altdriver.find_object(By.NAME, "GetAddressBtn").tap() diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta index 2de291e3..cb766dfe 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta +++ b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/dev.voltstro.unitywebbrowser@2.2.5/Plugins/VoltstroStudios.UnityWebBrowser.Shared.dll.meta @@ -16,24 +16,24 @@ PluginImporter: second: enabled: 0 settings: - Exclude Android: 0 + Exclude Android: 1 Exclude Editor: 0 Exclude Linux64: 0 Exclude OSXUniversal: 0 Exclude WebGL: 1 Exclude Win: 0 Exclude Win64: 0 - Exclude iOS: 0 + Exclude iOS: 1 - first: Android: Android second: - enabled: 1 + enabled: 0 settings: CPU: ARMv7 - first: Any: second: - enabled: 1 + enabled: 0 settings: {} - first: Editor: Editor @@ -81,7 +81,7 @@ PluginImporter: - first: iPhone: iOS second: - enabled: 1 + enabled: 0 settings: AddToEmbeddedBinaries: false CPU: AnyCPU diff --git a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta index 4b3815e2..5ad7fb33 100644 --- a/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta +++ b/src/Packages/Passport/Runtime/ThirdParty/UnityWebBrowser/org.nuget.voltrpc@3.2.1/VoltRpc.dll.meta @@ -49,7 +49,7 @@ PluginImporter: second: enabled: 1 settings: - CPU: x86_64 + CPU: AnyCPU - first: Standalone: OSXUniversal second: