e2e: adding android.gpu.mode capability to fix emulators crash

This commit is contained in:
Yevheniia Berdnyk 2024-07-10 15:59:26 +03:00
parent d179cbf59b
commit f89b66f562
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ def get_capabilities_sauce_lab():
caps['sauce:options']['name'] = test_suite_data.current_test.name caps['sauce:options']['name'] = test_suite_data.current_test.name
caps['sauce:options']['maxDuration'] = 3600 caps['sauce:options']['maxDuration'] = 3600
caps['sauce:options']['idleTimeout'] = 1000 caps['sauce:options']['idleTimeout'] = 1000
caps['sauce:options']['android.gpu.mode'] = 'hardware'
options = AppiumOptions() options = AppiumOptions()
options.load_capabilities(caps) options.load_capabilities(caps)