Skip to content

Commit 4f8ce48

Browse files
committed
series/creation/validation.robot: wait until element will be visible.
Fix "You may only interact with visible elements" error. Correction for 09dd595 commit.
1 parent c72108a commit 4f8ce48

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/test/robotframework/series/creation/validation.robot

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,16 @@ Invalid Catalog Numbers Should Be Rejected
9999
Element Text Should Be id=gibbonsNumbers.errors Value must be comma delimited numbers
100100

101101
Invalid Catalog Price Should Be Rejected
102-
[Documentation] Test that specifying catalog price cause an error
103-
[Arguments] ${catalogPrice}
104-
Click Element id=add-catalog-numbers-link
105-
Input Text id=michelPrice ${catalogPrice}
106-
Input Text id=scottPrice ${catalogPrice}
107-
Input Text id=yvertPrice ${catalogPrice}
108-
Input Text id=gibbonsPrice ${catalogPrice}
109-
Submit Form id=add-series-form
110-
Element Text Should Be id=michelPrice.errors Invalid value
111-
Element Text Should Be id=scottPrice.errors Invalid value
112-
Element Text Should Be id=yvertPrice.errors Invalid value
113-
Element Text Should Be id=gibbonsPrice.errors Invalid value
102+
[Documentation] Test that specifying catalog price cause an error
103+
[Arguments] ${catalogPrice}
104+
Click Element id=add-catalog-numbers-link
105+
Wait Until Element Is Visible css=.js-catalogs-info
106+
Input Text id=michelPrice ${catalogPrice}
107+
Input Text id=scottPrice ${catalogPrice}
108+
Input Text id=yvertPrice ${catalogPrice}
109+
Input Text id=gibbonsPrice ${catalogPrice}
110+
Submit Form id=add-series-form
111+
Element Text Should Be id=michelPrice.errors Invalid value
112+
Element Text Should Be id=scottPrice.errors Invalid value
113+
Element Text Should Be id=yvertPrice.errors Invalid value
114+
Element Text Should Be id=gibbonsPrice.errors Invalid value

0 commit comments

Comments
 (0)