Acceptance testing/Compatibility changes: Difference between revisions
From MoodleDocs
Line 3: | Line 3: | ||
== Moodle 3.3 == | == Moodle 3.3 == | ||
=== | === And I follow "Course 1" === | ||
==== Summary ==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 11: | Line 11: | ||
|- | |- | ||
|New step/s | |New step/s | ||
|And I am on "Course 1" course homepage<br>And I am on "Course 1" course homepage | |And I am on "Course 1" course homepage<br>And I am on "Course 1" course homepage with editing mode on | ||
|- | |- | ||
|Backported to: | |Backported to: | ||
|Moodle 3.1.6, 3.2.3 and up. | |Moodle 3.1.6, 3.2.3 and up. | ||
|} | |} | ||
==== Examples ==== | |||
<b>Before:</b> | <b>Before:</b> | ||
<code> | <code> | ||
Line 35: | Line 33: | ||
Then I should see "Topic 1" | Then I should see "Topic 1" | ||
</code> | </code> | ||
==== Why did this change? ==== | |||
UI Changes mean the existing 'loose' step matches multiple values. The replacement step should help speed up your tests. | |||
== Moodle 3.2 == | == Moodle 3.2 == | ||
== Moodle 3.1 == | == Moodle 3.1 == |
Revision as of 07:36, 4 May 2017
As new features are developed for Moodle, some UI changes can cause changes which unfortunately affect behat feature files. This page is intended to document important compatibility changes for behat test developers.
Moodle 3.3
And I follow "Course 1"
Summary
Previous step: | And I follow "Course 1" |
New step/s | And I am on "Course 1" course homepage And I am on "Course 1" course homepage with editing mode on |
Backported to: | Moodle 3.1.6, 3.2.3 and up. |
Examples
Before:
Scenario: I am on the course homepage
When I log in as "student1"
And I am on site homepage
And I follow "Course 1"
Then I should see "Topic 1"
After:
Scenario: I am on the course homepage
When I log in as "student1"
And I am on "Course 1" course homepage
Then I should see "Topic 1"
Why did this change?
UI Changes mean the existing 'loose' step matches multiple values. The replacement step should help speed up your tests.