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

[WebDriver BiDi] Fix non existent urls #47020

Merged
merged 1 commit into from
Jul 8, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

pytestmark = pytest.mark.asyncio

EMPTY_PAGE = "/webdriver/tests/bidi/support/empty.html"
EMPTY_PAGE = "/webdriver/tests/bidi/browsing_context/support/empty.html"
FRAGMENT_NAVIGATED_EVENT = "browsingContext.fragmentNavigated"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

pytestmark = pytest.mark.asyncio

EMPTY_PAGE = "/webdriver/tests/bidi/support/empty.html"
EMPTY_PAGE = "/webdriver/tests/bidi/browsing_context/support/empty.html"
FRAGMENT_NAVIGATED_EVENT = "browsingContext.fragmentNavigated"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def test_fetch(
# Navigate away from about:blank to make sure document.cookies can be used.
await bidi_session.browsing_context.navigate(
context=new_tab["context"],
url=url("/webdriver/tests/bidi/support/empty.html"),
url=url("/webdriver/tests/bidi/network/support/empty.html"),
wait="complete"
)

Expand Down
2 changes: 1 addition & 1 deletion webdriver/tests/bidi/network/continue_request/cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def test_modify_cookies(
# Navigate away from about:blank to make sure document.cookies can be used.
await bidi_session.browsing_context.navigate(
context=top_context["context"],
url=url("/webdriver/tests/bidi/support/empty.html"),
url=url("/webdriver/tests/bidi/network/support/empty.html"),
wait="complete"
)

Expand Down
2 changes: 1 addition & 1 deletion webdriver/tests/bidi/network/continue_request/headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def test_override_cookies(
# Navigate away from about:blank to make sure document.cookies can be used.
await bidi_session.browsing_context.navigate(
context=top_context["context"],
url=url("/webdriver/tests/bidi/support/empty.html"),
url=url("/webdriver/tests/bidi/network/support/empty.html"),
wait="complete"
)

Expand Down