Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- tests/behat/behat_theme_adaptable_behat_auth.php duplicated the pat… #31

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions tests/behat/behat_theme_adaptable_behat_auth.php

This file was deleted.

4 changes: 2 additions & 2 deletions tests/behat/behat_theme_adaptable_behat_navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function i_follow_asset_link($assettitle) {
*
* This can be used on front page, course, category or modules pages.
*
* @Given /^I navigate to "(?P<nodetext_string>(?:[^"]|\\")*)" in current page administration$/
* @override /^I navigate to "(?P<nodetext_string>(?:[^"]|\\")*)" in current page administration$/
*
* @throws ExpectationException
* @param string $nodetext navigation node to click, may contain path, for example "Reports > Overview"
Expand Down Expand Up @@ -170,7 +170,7 @@ public function i_navigate_to_in_site_administration($nodetext) {

/**
* Click on an entry in the user menu.
* @Given /^I follow "(?P<nodetext_string>(?:[^"]|\\")*)" in the user menu$/
* @override /^I follow "(?P<nodetext_string>(?:[^"]|\\")*)" in the user menu$/
*
* @param string $nodetext
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/behat_theme_adaptable_behat_permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class behat_theme_adaptable_behat_permissions extends behat_permissions {
/**
* Set system level permissions to the specified role. Expects a table with capability name
* and permission (Inherit/Allow/Prevent/Prohibit) columns.
* @Given /^I set the following system permissions of "(?P<rolefullname_string>(?:[^"]|\\")*)" role:$/
* @override /^I set the following system permissions of "(?P<rolefullname_string>(?:[^"]|\\")*)" role:$/
* @param string $rolename
* @param TableNode $table
*/
Expand Down
6 changes: 6 additions & 0 deletions tests/behat/blacklist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"contexts": [
"behat_theme_boost_behat_navigation"
],
"features": []
}
50 changes: 0 additions & 50 deletions tests/behat/core_auth/behat_theme_adaptable_behat_core_auth.php

This file was deleted.

10 changes: 10 additions & 0 deletions tests/behat/navigation.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Feature: Basic navigation scenarios through Moodle.

Background: User "admin" logs into Moodle and then logs out
And I log in as "admin"
Then I log out

Scenario: Basic navigation without JavaScript

@javascript
Scenario: Basic navigation with JavaScript
Loading