Skip to content

Commit 1aad86e

Browse files
committed
chore: remove a workaround for a file input with "required" attribute.
HtmlUnit/htmlunit#76 has been fixed. Follow-up to #1251
1 parent 1833699 commit 1aad86e

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/test/robotframework/series/creation/logic-user.robot

-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ Create series by filling only required fields
1313
Select From List By Label id:category Sport
1414
Input Text id:quantity 2
1515
Choose File id:image ${MAIN_RESOURCE_DIR}${/}test.png
16-
# Workaround for an invalid form when it contains required file input:
17-
# https://github.com/HtmlUnit/htmlunit/issues/76
18-
Remove Element Attribute image required
1916
Submit Form id:add-series-form
2017
Element Text Should Be id:category_name Sport
2118
Element Text Should Be id:quantity 2
@@ -28,9 +25,6 @@ Create series by filling all fields
2825
Input Text id:quantity 3
2926
Unselect Checkbox id:perforated
3027
Choose File id:image ${MAIN_RESOURCE_DIR}${/}test.png
31-
# Workaround for an invalid form when it contains required file input:
32-
# https://github.com/HtmlUnit/htmlunit/issues/76
33-
Remove Element Attribute image required
3428
Click Element id:specify-issue-date-link
3529
Select From List By Value id:day 8
3630
Select From List By Value id:month 9

src/test/robotframework/series/creation/misc-user.robot

-6
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ Catalog numbers should ignore duplicate values
5151
Select From List By Label id:category Sport
5252
Input Text id:quantity 2
5353
Choose File id:image ${MAIN_RESOURCE_DIR}${/}test.png
54-
# Workaround for an invalid form when it contains required file input:
55-
# https://github.com/HtmlUnit/htmlunit/issues/76
56-
Remove Element Attribute image required
5754
Click Element id:add-catalog-numbers-link
5855
Input Text id:michelNumbers 104,105,104
5956
Input Text id:scottNumbers 114,115,114
@@ -74,9 +71,6 @@ Catalog numbers should accept existing numbers
7471
Select From List By Label id:category Sport
7572
Input Text id:quantity 2
7673
Choose File id:image ${MAIN_RESOURCE_DIR}${/}test.png
77-
# Workaround for an invalid form when it contains required file input:
78-
# https://github.com/HtmlUnit/htmlunit/issues/76
79-
Remove Element Attribute image required
8074
Click Element id:add-catalog-numbers-link
8175
Input Text id:michelNumbers 99
8276
Input Text id:scottNumbers 99

0 commit comments

Comments
 (0)