Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r225213 - Unreviewed. Update W3C WebDriver imported tests.
* imported/w3c/importer.json: * imported/w3c/tools/webdriver/webdriver/client.py: * imported/w3c/tools/webdriver/webdriver/error.py: * imported/w3c/tools/wptrunner/docs/conf.py: * imported/w3c/tools/wptrunner/wptrunner/browsers/ie.py: * imported/w3c/tools/wptrunner/wptrunner/executors/base.py: * imported/w3c/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py: * imported/w3c/tools/wptrunner/wptrunner/stability.py: * imported/w3c/tools/wptrunner/wptrunner/testdriver-vendor.js: Added. * imported/w3c/tools/wptrunner/wptrunner/update/sync.py: * imported/w3c/tools/wptrunner/wptrunner/wptcommandline.py: * imported/w3c/webdriver/interface/interface.html: * imported/w3c/webdriver/tests/document_handling/page_source.py: Added. * imported/w3c/webdriver/tests/element_click/bubbling.py: Added. * imported/w3c/webdriver/tests/element_retrieval/get_active_element.py: * imported/w3c/webdriver/tests/execute_async_script/user_prompts.py: Added. * imported/w3c/webdriver/tests/execute_script/user_prompts.py: Added. * imported/w3c/webdriver/tests/sessions/status.py: Added. * imported/w3c/webdriver/tests/status.py: Removed. * imported/w3c/webdriver/tests/support/fixtures.py: * imported/w3c/webdriver/tests/support/wait.py: * imported/w3c/webdriver/tests/user_prompts/accept_alert.py: * imported/w3c/webdriver/tests/user_prompts/dismiss_alert.py: * imported/w3c/webdriver/tests/user_prompts/get_alert_text.py: * imported/w3c/webdriver/tests/user_prompts/send_alert_text.py:
- Loading branch information
1 parent
4358961
commit 2cbb72e
Showing
26 changed files
with
517 additions
and
109 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
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
1 change: 1 addition & 0 deletions
1
WebDriverTests/imported/w3c/tools/wptrunner/wptrunner/testdriver-vendor.js
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 @@ | ||
// This file intentionally left blank |
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
14 changes: 14 additions & 0 deletions
14
WebDriverTests/imported/w3c/webdriver/tests/document_handling/page_source.py
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,14 @@ | ||
import pytest | ||
|
||
from tests.support.inline import inline | ||
|
||
|
||
# 15.1.3 "Let source be the result returned from the outerHTML IDL attribute | ||
# of the document element" | ||
def test_source_matches_outer_html(session): | ||
session.url = inline("<html><head><title>Cheese</title><body>Peas") | ||
expected_source = session.execute_script( | ||
"return document.documentElement.outerHTML") | ||
|
||
assert session.source == expected_source | ||
|
Oops, something went wrong.