AutorÃa | Ultima modificación | Ver Log |
@coreFeature: Check for minimum or maximimum version of MoodleIn order adapt acceptance tests for different versions of MoodleAs a developerI should be able to skip tests according to the Moodle version present on a siteScenario: Minimum version too lowGiven the site is running Moodle version 99.0 or higher# The following steps should not be executed. If they are, the test will fail.When I log in as "admin"Then I should not see "Home"Scenario: Maximum version too highGiven the site is running Moodle version 3.0 or lower# The following steps should not be executed. If they are, the test will fail.When I log in as "admin"Then I should not see "Home"Scenario: Minimum version OKGiven the site is running Moodle version 3.0 or higherWhen I log in as "admin"Then I should see "Home"Scenario: Maximum version OKGiven the site is running Moodle version 99.0 or lowerWhen I log in as "admin"Then I should see "Home"