Skip to content

Commit

Permalink
Bug 1821996 - [wdspec] Move all webdriver classic tests to webdriver/…
Browse files Browse the repository at this point in the history
…tests/classic r=webdriver-reviewers,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D177295
  • Loading branch information
juliandescottes committed May 23, 2023
1 parent fcc7700 commit 8aba211
Show file tree
Hide file tree
Showing 434 changed files with 46 additions and 29 deletions.
2 changes: 1 addition & 1 deletion testing/web-platform/tests/lint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,8 @@ TESTHARNESS-IN-OTHER-TYPE: svg/svg-in-svg/svg-in-svg-circular-filter-reference-c
# Adding the testharnessreport.js script causes the test to never complete.
MISSING-TESTHARNESSREPORT: accessibility/crashtests/computed-node-checked.html

PRINT STATEMENT: webdriver/tests/print/*
PRINT STATEMENT: webdriver/tests/bidi/browsing_context/print/*
PRINT STATEMENT: webdriver/tests/classic/print/*
PRINT STATEMENT: webdriver/tests/support/fixtures_bidi.py

DUPLICATE-BASENAME-PATH: acid/acid3/empty.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def element_click(session, element):
element_id=element.id))

def test_event_mousemove(session, url):
session.url = url("/webdriver/tests/element_click/support/test_click_wdspec.html")
session.url = url(
"/webdriver/tests/classic/element_click/support/test_click_wdspec.html"
)

element = session.find.css('#outer', all=False)
response = element_click(session, element)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def element_click(session, element):


def test_numbers_link(session, server_config, inline):
link = "/webdriver/tests/element_click/support/input.html"
link = "/webdriver/tests/classic/element_click/support/input.html"
session.url = inline("<a href={url}>123456</a>".format(url=link))
element = session.find.css("a", all=False)
response = element_click(session, element)
Expand All @@ -26,7 +26,7 @@ def test_numbers_link(session, server_config, inline):


def test_multi_line_link(session, server_config, inline):
link = "/webdriver/tests/element_click/support/input.html"
link = "/webdriver/tests/classic/element_click/support/input.html"
session.url = inline("""
<p style="background-color: yellow; width: 50px;">
<a href={url}>Helloooooooooooooooooooo Worlddddddddddddddd</a>
Expand All @@ -41,7 +41,7 @@ def test_multi_line_link(session, server_config, inline):


def test_link_unload_event(session, server_config, inline):
link = "/webdriver/tests/element_click/support/input.html"
link = "/webdriver/tests/classic/element_click/support/input.html"
session.url = inline("""
<body onunload="checkUnload()">
<a href={url}>click here</a>
Expand Down
Loading

0 comments on commit 8aba211

Please sign in to comment.