mirror of
https://github.com/appium/appium.git
synced 2026-05-03 08:51:18 -05:00
add troubleshooting.cn.md
add real-devices.cn.md update the cn doc to the latest add saucelabs-repository in pom.xml in testng example
This commit is contained in:
@@ -62,5 +62,17 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>saucelabs-repository</id>
|
||||
<url>https://repository-saucelabs.forge.cloudbees.com/release</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
||||
@@ -28,7 +28,7 @@ class SettingsTest < Test::Unit::TestCase
|
||||
@driver=init
|
||||
end
|
||||
def test_settings
|
||||
#flick the screen until find the Aboud phone item
|
||||
#flick the screen until find the Aboud phone item
|
||||
while @driver.find_elements(:xpath, '//text[@text="About phone"]').count==0
|
||||
begin
|
||||
@driver.execute_script 'mobile: flick', :startY=>0.9, :endY=>0.1
|
||||
|
||||
Reference in New Issue
Block a user