mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
MDL-44520 behat: Change behat features to use new section selectors
This commit is contained in:
parent
102cfc4964
commit
e7bcd2764a
8 changed files with 59 additions and 59 deletions
|
@ -29,8 +29,8 @@ Feature: Activities can be moved between sections
|
|||
|
||||
Scenario: Move activities in a single page course with Javascript disabled
|
||||
When I move "Test forum name" activity to section "2"
|
||||
Then I should see "Test forum name" in the "#section-2" "css_element"
|
||||
And I should not see "Test forum name" in the "#section-1" "css_element"
|
||||
Then I should see "Test forum name" in the "Topic 2" "section"
|
||||
And I should not see "Test forum name" in the "Topic 1" "section"
|
||||
|
||||
Scenario: Move activities in the course home with Javascript disabled using paged mode
|
||||
Given I click on "Edit settings" "link" in the "Administration" "block"
|
||||
|
@ -38,8 +38,8 @@ Feature: Activities can be moved between sections
|
|||
| Course layout | Show one section per page |
|
||||
And I press "Save and display"
|
||||
When I move "Test forum name" activity to section "2"
|
||||
Then I should see "Test forum name" in the "#section-2" "css_element"
|
||||
And I should not see "Test forum name" in the "#section-1" "css_element"
|
||||
Then I should see "Test forum name" in the "Topic 2" "section"
|
||||
And I should not see "Test forum name" in the "Topic 1" "section"
|
||||
|
||||
Scenario: Move activities in a course section with Javascript disabled using paged mode
|
||||
Given I click on "Edit settings" "link" in the "Administration" "block"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue