We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4931f4e commit 11f840aCopy full SHA for 11f840a
test/functional/android/webdriver/device_test.rb
@@ -122,14 +122,19 @@ def test_implicit_wait
122
assert(@driver.manage.timeouts.implicit_wait = @@core.default_wait)
123
end
124
125
+ # Not so stable on CI
126
def test_rotate
127
assert_equal :portrait, @driver.orientation
128
- @driver.rotation = :landscape
129
- assert_equal :landscape, @driver.orientation
+ @@core.wait do
130
+ @driver.rotation = :landscape
131
+ assert_equal :landscape, @driver.orientation
132
+ end
133
- @driver.rotation = :portrait
- assert_equal :portrait, @driver.orientation
134
135
+ @driver.rotation = :portrait
136
+ assert_equal :portrait, @driver.orientation
137
138
139
140
def test_logs
0 commit comments