Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/tests/cases/case_swipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ SwipeElementsTest:
Role: $AND_CLI_USER$
Element1:
Strategy: xpath
Id: '//android.support.v7.widget.RecyclerView/android.view.ViewGroup[5]'
Id: '//android.view.View[5]'
Element2:
Strategy: xpath
Id: '//android.support.v7.widget.RecyclerView/android.view.ViewGroup[1]'
Id: '//android.view.View[1]'
- Type: sleep
Time: 5
2 changes: 1 addition & 1 deletion lib/core/appium_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def stop
`for /f "tokens=5" %a in ('netstat -aon ^| find ":#{@port}" ^| find "LISTENING"') do taskkill /f /pid %a`
else
while true
ps = `ps -A | grep "appium -p #{@port}"`
ps = `ps -A | grep "appium --base-path=/wd/hub -p #{@port}"`
break unless ps.include?("node")
ps.split("\n") do |process|
next if process.include?("grep")
Expand Down