Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.8, 3.6.6, 3.7, 3.8
-
Component/s: Automated functional tests (behat)
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-66919_35 -
Pull 3.5 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Detected when looking for MDL-66553 failures.
There is an obvious (copy/paste) error in the error message of the should_appear_before() step.
Whenever it fails, currently this is shown (real example):
Then "C question 3 name" "checkbox" should appear before "A question 1 name" "checkbox"
|
Problem: 'C question 3 name' 'checkbox' does not appear AFTER 'A question 1 name' 'checkbox'
|
That is clearly, an oxymoron, heh. The "Problem" should be, instead:
Problem: 'C question 3 name' 'checkbox' does not appear BEFORE 'A question 1 name' 'checkbox'
|
aka, s/after/before
that is exactly what is being checked by the step.