MDL-74320 lesson: Remove tested elsewhere parts of the scenario
commit049e27a8052ddceceba65cff0f5207f0441f0488
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 24 Mar 2022 19:02:23 +0000 (24 20:02 +0100)
committerIlya Tregubov <ilya@moodle.com>
Wed, 27 Apr 2022 09:47:29 +0000 (27 15:47 +0600)
tree0014f1f5265141c87adbe34fb1971a82be26a235
parent6c7fa91d59cb24956d3c08603ac02b2f6193c4ab
MDL-74320 lesson: Remove tested elsewhere parts of the scenario

The scenario has not only grades related completion conditions
but also timing conditions or reach the end conditions that
shouldn't be tested by a grades feature.

More yet, those completion conditions are already tested by
other feature files, namely:
- reach the end: completion_condition_end_reached.feature
- visit and timing: lesson_activity_completion.feature

So we have removed all those parts that are being tested
by other features.

Specially the visit and timing ones, because they lead to
random failures in slow environments and they have been
fixed in the lesson_activity_completion.feature scenarios
by MDL-72698.
mod/lesson/tests/behat/lesson_completion_pass_grade.feature