Skip to content

Commit a87bdc4

Browse files
committed
MOBILE-3523: Fix forum tests
1 parent 7f58c45 commit a87bdc4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

mod/forum/tests/behat/app_basic_usage.feature

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,15 +231,11 @@ Feature: Test basic usage of forum activity in app
231231
Then I should see "Edit"
232232

233233
When I press "Edit" in the app
234+
And I switch offline mode to "true"
234235
And I set the field "Write your reply..." to "Auto-test message edited" in the app
235236
And I press "Save changes" in the app
236-
And I switch offline mode to "true"
237-
And I press "Display options" near "Reply" in the app
238237
Then I should see "There was a problem connecting to the site. Please check your connection and try again."
239238

240-
When I press "OK" in the app
241-
And I should not see "Edit"
242-
243239
@app @3.8.0
244240
Scenario: Delete a forum post (only online)
245241
When I enter the app
@@ -267,6 +263,7 @@ Feature: Test basic usage of forum activity in app
267263
And I press "Cancel" in the app
268264
And I switch offline mode to "true"
269265
And I press "Display options" near "Reply" in the app
266+
And I press "Delete" in the app
270267
Then I should see "There was a problem connecting to the site. Please check your connection and try again."
271268

272269
When I press "OK" in the app

0 commit comments

Comments
 (0)