Skip to content

Commit

Permalink
Update actions.feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Syxton committed Dec 16, 2024
1 parent 43f7370 commit 9edef59
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/behat/actions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: Check if all the different type of actions of the mass actions block wo
| assign | TC | 5 | Test Activity5 | Test page description5 | 4 |
And the following "blocks" exist:
| blockname | contextlevel | reference | pagetypepattern | defaultregion |
| recent_activity | Course | C1 | course-view-* | side-pre |
| recent_activity | Course | TC | course-view-* | side-pre |
When I log in as "teacher1"
And I am on "Test course" course homepage with editing mode on
And I add the "Mass Actions" block
Expand Down Expand Up @@ -58,10 +58,12 @@ Feature: Check if all the different type of actions of the mass actions block wo
Then I should not see "Test Activity1"
And I should not see "Test Activity4"
And I should not see "Test Activity5"
And I click on "Test Activity1" "link" in the "Recent activity" "block"
And I should see "Test Activity1"
And I click on "Test Activity4" "link" in the "Recent activity" "block"
And I should see "Test Activity4"
When I click on "Test Activity1" "link" in the "Recent activity" "block"
Then I should see "Test Activity1"
And I click on "TC" in the ".breadcrumb" "css_element"
When I click on "Test Activity4" "link" in the "Recent activity" "block"
Then I should see "Test Activity4"
And I click on "TC" in the ".breadcrumb" "css_element"
And I should not see"Test Activity5" "link" in the "Recent activity" "block"

@javascript
Expand Down

0 comments on commit 9edef59

Please sign in to comment.