nomovok-opensource / cutedriver-agent_qt

Other
6 stars 12 forks source link

SceneGraph object is returned instead of Window on random occasions #41

Closed jppiiroinen closed 6 years ago

jppiiroinen commented 6 years ago

It looks like that following test snippet causes 1 out of 5 to fail by returning SceneGraph object instead of Window:

    minitest_verify_true(5, "ApplicationWindow can be found") {
        appWindow = @app.child(:objectName => 'appWindow')
        puts "Found: #{appWindow[:objectType]}"
        appWindow[:objectType] == "Window"
    }
jppiiroinen commented 6 years ago

related ticket and test can be found from: https://github.com/nomovok-opensource/cutedriver-examples/issues/15