Skip to content

Commit f739d27

Browse files
committed
add available contexts at the end of contexts test
1 parent be245db commit f739d27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/ios/ios/device_test.rb

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def test_context_related
112112
assert_equal 'NATIVE_APP', @@driver.current_context
113113

114114
@@driver.back # go to top
115+
@@core.wait { assert @@driver.available_contexts.size == 2 }
115116
end
116117

117118
def test_app_string

0 commit comments

Comments
 (0)