mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-75912 behat: Wiki Behat tests now use generators
Replace steps that manually add Wiki instances via the UI and use Behat generators. This improves the speed of the Behat test runs.
This commit is contained in:
parent
880462a168
commit
77cb8e55e4
1 changed files with 4 additions and 7 deletions
|
@ -152,14 +152,11 @@ Feature: Apply tour filters to a tour
|
||||||
| fullname | shortname | format | enablecompletion |
|
| fullname | shortname | format | enablecompletion |
|
||||||
| Course 1 | C1 | topics | 1 |
|
| Course 1 | C1 | topics | 1 |
|
||||||
| Course 2 | C2 | topics | 1 |
|
| Course 2 | C2 | topics | 1 |
|
||||||
|
And the following "activities" exist:
|
||||||
|
| activity | course | name | firstpagetitle | wikimode |
|
||||||
|
| wiki | C1 | Test wiki name | First page | collaborative |
|
||||||
And I log in as "admin"
|
And I log in as "admin"
|
||||||
And I am on "Course 1" course homepage with editing mode on
|
And I am on "Course 2" course homepage with editing mode on
|
||||||
And I add a "Wiki" to section "1" and I fill the form with:
|
|
||||||
| Wiki name | Test wiki name |
|
|
||||||
| Description | Test wiki description |
|
|
||||||
| First page name | First page |
|
|
||||||
| Wiki mode | Collaborative wiki |
|
|
||||||
And I am on "Course 2" course homepage
|
|
||||||
And I add a "Forum" to section "1" and I fill the form with:
|
And I add a "Forum" to section "1" and I fill the form with:
|
||||||
| Forum name | Test forum name |
|
| Forum name | Test forum name |
|
||||||
| Forum type | Standard forum for general use |
|
| Forum type | Standard forum for general use |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue