Permalink
Browse files

Reworked method for ignoring known browser issues.

Instead of ignoring firefox errors for specific tests I am tagging tests
noting known issues and adding noncritical flag to the test script. I think
there might be an issue with Selenuim2Library's internal test runner where
the noncritical flag is not beiong passed along to rebot. If this is the case
I will open another issue.
  • Loading branch information...
1 parent 617751d commit d9b00b5a4ddb1ddbc16e0e4cce31a3443a092866 @emanlove emanlove committed Nov 25, 2013
Showing with 4 additions and 3 deletions.
  1. +1 −1 .travis.yml
  2. +3 −2 test/acceptance/keywords/click_element_at_coordinates.txt
View
@@ -14,7 +14,7 @@ before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- - python test/run_tests.py python $BROWSER
+ - python test/run_tests.py python $BROWSER --noncritical ignore_$BROWSER_error
env:
matrix:
- BROWSER=firefox
@@ -6,9 +6,10 @@ Resource ../resource.txt
*** Test Cases ***
Click Element At Coordinates
[Documentation] LOG 2 Click clicking element 'Clickable' in coordinates '10', '20'.
+ [Tags] known_firefox_issue ignore_firefox_error
Click Element At Coordinates Clickable ${10} ${20}
- Run Keyword And Ignore Error Element Text Should Be outputX 110
- Run Keyword And Ignore Error Element Text Should Be outputY 120
+ Element Text Should Be outputX 110
+ Element Text Should Be outputY 120
*** Keywords ***
Initialize page

0 comments on commit d9b00b5

Please sign in to comment.