robotframework-imagehorizonlibrary icon indicating copy to clipboard operation
robotframework-imagehorizonlibrary copied to clipboard

Tests on OSX can not proceed

Open matejc opened this issue 4 years ago • 3 comments

There is an issue with running OSX tests on Travis-CI, the permission popup is stealing input focus from the test app, like seen on the screenshot:

travis-xcode-10-2

Error: '' cannot be converted to an integer: ValueError: invalid literal for int() with base 10: ''

Calculator
    Set Confidence      0.9
    Launch application    python tests/atest/calculator/calculator.py
    ${location1}=    Wait for    inputs.png
    Click to the above of     ${location1}    20
    Type    1010
    Click to the below of     ${location1}    20
    Type    1001
    ${location2}=    Locate    or_button.png
    Click to the below of     ${location2}    0
    Click to the below of     ${location2}    50
    ${result}=    Copy
    Take A Screenshot                    <-- Screenshot taken here
    Should be equal as integers    ${result}    1011  <-- Error happens right here
    Click Image     close_button.png
    [Teardown]    Terminate application

I have sent an issue to Travis-CI support.

matejc avatar Apr 19 '20 14:04 matejc

@matejc can you link the issue in Travis-CI support here?

Tattoo avatar Apr 29 '20 07:04 Tattoo

This one https://support.travis-ci.com/hc/en-us/requests/17091

matejc avatar May 04 '20 12:05 matejc

I don't have a travis-ci account, so I am wondering:

  • If this issue is resolved?
  • Was this issue preventing imagehorizonlibrary being tested on MacOS? if so could a github action with platform: macos-latest be used to ensure testing of imagehorizonlibrary on MacOS continues?

damies13 avatar Feb 25 '22 13:02 damies13