forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MOODLE_401_STABLE' into MOODLE_401_STABLE_GIPRECIA
- Loading branch information
Showing
315 changed files
with
7,149 additions
and
2,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@tool_behat | ||
Feature: Confirm that we can open multiple browser tabs | ||
In order to use multiple browser tabs | ||
As a test writer | ||
I need the relevant Behat steps to work | ||
|
||
@javascript @_switch_window | ||
Scenario: Open multiple browser tabs | ||
Given the following "courses" exist: | ||
| fullname | shortname | | ||
| Course 1 | C1 | | ||
| Course 2 | C2 | | ||
| Course 3 | C3 | | ||
And I am on the "C1" "Course" page logged in as "admin" | ||
|
||
# Open a new tab on the same page. | ||
When I open a tab named "CourseViewer1" on the current page | ||
And I should see "Course 1" in the "h1" "css_element" | ||
And I am on the "C2" "Course" page | ||
|
||
# Open new tab for specified page with identifier. | ||
And I open a tab named "CourseViewer2" on the "C3" "Course" page | ||
|
||
# And for a specified page without identifier. | ||
And I open a tab named "CourseViewer4" on the "My courses" page | ||
|
||
# Switch between all the tabs and confirm their different contents. | ||
Then I should see "No courses" | ||
And I switch to "CourseViewer2" tab | ||
And I should see "Course 3" in the "h1" "css_element" | ||
And I switch to "CourseViewer1" tab | ||
And I should see "Course 2" in the "h1" "css_element" | ||
And I switch to the main tab | ||
And I should see "Course 1" in the "h1" "css_element" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.