Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd6d816

Browse files
committed
workaround failIfNotFound at this point
1 parent 8681dc1 commit cd6d816

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/robotframework/acceptance/MiscTests.robot

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ ${CURRENT_APPLICATION} NOT SET
1515
Find Id That Does Not Exist
1616
[Tags] negative smoke
1717
Set Test Application javafxlibrary.testapps.TestBoundsLocation
18-
${MSG} Run Keyword And Expect Error * Find id=idThatDoesNotExist failIfNotFound=True
18+
${MSG} Run Keyword And Expect Error * Find id=idThatDoesNotExist ${True} # TODO: failIfNotFound=True
1919
Should Be Equal ${MSG} Unable to find anything with query: "id=idThatDoesNotExist" msg=Find does not fail with expected error message when query not found
20-
${MSG} Run Keyword Find id=idThatDoesNotExist failIfNotFound=False
20+
${MSG} Run Keyword Find id=idThatDoesNotExist ${False} # TODO: failIfNotFound=False
2121
Should Be Equal ${MSG} ${EMPTY} msg=Find does not return None value when query not found
2222

2323
Find All With Wrong Style Class
2424
[Tags] negative smoke
2525
Set Test Application javafxlibrary.testapps.TestBoundsLocation
26-
${MSG} Run Keyword And Expect Error * Find All css=.thisIsNotAStyleClass failIfNotFound=True
26+
${MSG} Run Keyword And Expect Error * Find All css=.thisIsNotAStyleClass ${True} # TODO: failIfNotFound=True
2727
Should Be Equal ${MSG} Unable to find anything with query: "css=.thisIsNotAStyleClass"
2828

2929
Print Child Nodes Of Incompatible Node

0 commit comments

Comments
 (0)