-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.5, 3.10.2, 4.0
-
MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-70727-master -
When I run a simple behat test as below:
@javascript @app |
Feature: Test behat press element in the app
|
Background:
|
Given the following "users" exist: |
| username | firstname | lastname | email |
|
| student1 | Student | 1 | student1@example.com | |
And the following "courses" exist: |
| fullname | shortname |
|
| Course 1 | C1 | |
| Course 2 | C2 | |
And the following "course enrolments" exist: |
| user | course | role |
|
| student1 | C1 | student |
|
| student1 | C2 | student |
|
|
Scenario: Student has no subjects, but default links appear |
When I enter the app
|
And I log in as "student1" |
And I press "Course 1" near "Course overview" in the app |
And I press "All sections" in the app |
And I press "Close" in the app |
And I should see "Contents" |
And I should see "Participants" |
After the step And I press "All sections" in the app, the tab bar (which include Contents, Participants, etc) disappears.
Scenario: Student has no subjects, but default links appear # C:\xampp\htdocs\moodle\admin\tool\mobile\tests\behat\behat_app.feature:16 |
And I should see "Contents" # C:\xampp\htdocs\moodle\admin\tool\mobile\tests\behat\behat_app.feature:24 |
"Contents" text was found but was not visible (Behat\Mink\Exception\ExpectationException) |
- caused a regression
-
MDL-71194 Behat scroll broken for app tests
- Closed