Skip to content

Commit

Permalink
Wait 1 second for CKEditor to be loaded in groups-edit-open
Browse files Browse the repository at this point in the history
We previously waited for AJAX in some cases but the loading of the
CKEditor is not actually an AJAX event.

See #3431
  • Loading branch information
Kingdutch committed Jun 21, 2023
1 parent d65a1af commit 97f6174
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Feature: Edit my group as a group manager
And I press "Continue"
And I wait for AJAX to finish
When I fill in "Title" with "Test open group"
And I wait for "1" seconds
And I fill in the "edit-field-group-description-0-value" WYSIWYG editor with "Description text"
And I press "Save"
And I should see "Test open group" in the "Main content"
Expand All @@ -31,7 +32,7 @@ Feature: Edit my group as a group manager
Then I should see "Description text" in the "Main content"

When I click "Edit group"
And I wait for AJAX to finish
And I wait for "1" seconds
And I fill in the "edit-field-group-description-0-value" WYSIWYG editor with "Description text - edited"
And I press "Save"
Then I should see "Test open group" in the "Main content"
Expand All @@ -58,6 +59,7 @@ Feature: Edit my group as a group manager
And I click the xth "0" element with the css ".views-field-operations .btn-group--operations .dropdown-toggle"
Then I should see the link "Remove"
When I click "Edit"
And I wait for "1" seconds
Then I should see "Group Manager One"
And I should see "Group Manager"
And I should see the button "Save"
Expand Down Expand Up @@ -89,6 +91,7 @@ Feature: Edit my group as a group manager
And I click "Test open group"
And I click "Topics"
And I click "Create Topic"
And I wait for "1" seconds
And I fill in the following:
| Title | Test group topic |
And I fill in the "edit-body-0-value" WYSIWYG editor with "Body description text"
Expand Down

0 comments on commit 97f6174

Please sign in to comment.