appcelerator-archive / appium-tests

Tool to run Titanium mobile tests in Appium
15 stars 3 forks source link

Sometimes, the script doesn't stop Appium and the script to be kill #2

Open timoa opened 7 years ago

timoa commented 7 years ago

Hi Guys,

I plan to use your scripts under CI pipelines but currently, it doesn't stop sometimes.

The script finish, try to kill Appium and stay lives forever if it can't:

Local Appium server started on localhost:4723
Installing [...]/com.timoa.ciremote/tests/Screenshots/CI Remote/build/iphone/build/Products/Debug-iphonesimulator/CI Remote.app to iPhone X ...

  CI Remote > Login
    ✓ should fill the URL textfield with the server URL (7647ms)
    ✓ should take a screenshot of the login screen (2262ms)
    ✓ should fill the username field (4508ms)
    ✓ should fill the password field (4859ms)

  CI Remote > Pipeline List
    ✓ should click on the Pipelines tab (6531ms)
    ✓ should take a screenshot of the Pipeline List screen (2221ms)

  CI Remote > Environment List
    ✓ should click on the Environment tab (6285ms)
    ✓ should take a screenshot of the Environment List screen (2192ms)

  CI Remote > Agent List
    ✓ should click on the Agent tab (2671ms)
    ✓ should take a screenshot of the Agent List screen (2183ms)

  CI Remote > Settings
    ✓ should click on the Settings tab (2675ms)
    ✓ should take a screenshot of the Settings screen (2197ms)

  CI Remote > Logout
    ✓ should click on the Settings tab (3109ms)
    ✓ should click on the Logout row (968ms)
    ✓ should accept to logout on the Logout alert (5875ms)

  15 passing (56s)

Done running tests.
Appium server shutting down ...

Sometimes, I get the "DONE" at the end but most of the time, I need to kill the script myself.