appcelerator-archive / appium-tests

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

Xcode9: Multiple simulators launch => test executed only on the first opened #1

Open timoa opened 6 years ago

timoa commented 6 years ago

Hi Guys!

I tried your framework for Appium yesterday and everything works fine on iOS but if you have multiple simulators on your configuration, the tests are launch only on the first opened.

Example with this configuration (test_config.js):

testDevices: [
    // these are simulators
    {
        deviceName: 'iPhone 8',
        platformVersion: '11.1'
    },
     {
        deviceName: 'iPhone X',
        platformVersion: '11.1'
    },
    {
        deviceName: 'iPad Pro (12.9-inch)',
        platformVersion: '11.1'
    },
]

It will open the iPhone 8, run the tests, start the iPhone X and run the test on the iphone 8 :(

I don't know if it's related to Appium, the configuration of the iOS simulators or the scripts of the framework.

Appium: 1.7.1
Node: 6.10.1

Thanks!

youngchow commented 6 years ago

same here, did you solve it now? @Damien Laureaux

timoa commented 6 years ago

Hi youngchow!

Not for now.

I stopped using this framework few months ago but I still have my scripts and CI pipeline to use it.

I will have to re-work on it soon and I will try to make a fix.

I have a pull request to fix the Genymotion launches but since 28 November 2017, no one took a look.

I will maybe start a new framework based on this one and update it with more features (proxy to change the API responses, etc.)