Skip to content

Commit 0be9792

Browse files
committed
INT-16946: Fix behat test
1 parent 939df71 commit 0be9792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/behat/add_forum.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Feature: Add Open Forum activities and discussions
6868
And I follow "Edit settings"
6969
And I click on "#page-mod-hsuforum-mod #id_modstandardratings a[aria-controls='id_modstandardratings']" "css_element"
7070
And I set the field with xpath "//body[@id='page-mod-hsuforum-mod']//fieldset[@id='id_modstandardratings']//select[@id='id_assessed']" to "Average of ratings"
71-
And the "disabled" attribute of "#page-mod-hsuforum-mod #id_modstandardgrade > div.fcontainer.clearfix > div:nth-child(3) div[data-fieldtype='select'] select[name='gradecat']" "css_element" should contain "disabled"
71+
And the "disabled" attribute of "select[name='gradecat']" "css_element" should be set
7272
And I click on "#page-mod-hsuforum-mod #id_modstandardgrade a[aria-controls='id_modstandardgrade']" "css_element"
7373
And I set the field with xpath "//body[@id='page-mod-hsuforum-mod']//fieldset[@id='id_modstandardgrade']//select[@id='id_gradetype']" to "Manual"
7474
# This final step is only to verify that the user can select something after the Manual option is chosen for grade type.

0 commit comments

Comments
 (0)