You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$string['discussionsummary'] = 'A table of all forum discussions for {$a}. The header First name last name is a merge of the user\'s firstname, lastname and picture.';
Copy file name to clipboardExpand all lines: tests/behat/posts_ordering_blog.feature
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,7 @@ Feature: In Open Forums, blog posts are always displayed in reverse chronologica
51
51
#
52
52
And I follow "Blog post 2"
53
53
And I click on "Edit""link" in the "//article[contains(concat(' ', normalize-space(@class), ' '), ' hsuforum-thread ')][contains(., 'Blog post 2')]""xpath_element"
54
-
And I set the following fields to these values:
55
-
| Subject | Editedblogpost2 |
54
+
And I set the field with xpath "//*[@id='region-main']/div/div[1]/article/div[1]/form/fieldset/div[3]/div[1]/input" to "Edited blog post 2"
56
55
And I press "Submit"
57
56
And I wait to be redirected
58
57
And I log out
@@ -65,8 +64,7 @@ Feature: In Open Forums, blog posts are always displayed in reverse chronologica
65
64
And I follow "Blog post 1"
66
65
And I follow "Reply"
67
66
And I follow "Use advanced editor and additional options"
68
-
And I set the following fields to these values:
69
-
| Message | Replytothefirstpost |
67
+
And I set the field with xpath "//*[@id='id_messageeditable']" to "Reply to the first post"
Copy file name to clipboardExpand all lines: tests/behat/posts_ordering_general.feature
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,7 @@ Feature: New Open discussions and discussions with recently added replies are di
51
51
#
52
52
And I follow "Forum post 2"
53
53
And I click on "Edit""link" in the "//article[contains(concat(' ', normalize-space(@class), ' '), ' hsuforum-thread ')][contains(., 'Forum post 2')]""xpath_element"
54
-
And I set the following fields to these values:
55
-
| Subject | Editedforumpost2 |
54
+
And I set the field with xpath "//*[@id='region-main']/div/div[1]/article/div[1]/form/fieldset/div[3]/div[1]/input" to "Edited forum post 2"
56
55
And I press "Submit"
57
56
And I wait to be redirected
58
57
And I log out
@@ -64,8 +63,7 @@ Feature: New Open discussions and discussions with recently added replies are di
64
63
And I follow "Course general forum"
65
64
And I follow "Forum post 1"
66
65
And I follow "Use advanced editor and additional options"
67
-
And I set the following fields to these values:
68
-
| Message | Replytothefirstpost |
66
+
And I set the field with xpath "//*[@id='id_messageeditable']" to "Reply to the first post"
0 commit comments