Skip to content

Commit ba70605

Browse files
authored
test: enable skipped tests (microsoft#573)
1 parent 47f1a64 commit ba70605

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

playwright/__main__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
def main() -> None:
2323
driver_executable = compute_driver_executable()
2424
my_env = os.environ.copy()
25-
# VSCode's JavaScript Debug Terminal provides it but driver/pkg does not support it
26-
my_env.pop("NODE_OPTIONS", None)
2725
my_env["PW_CLI_TARGET_LANG"] = "python"
2826
subprocess.run([str(driver_executable), *sys.argv[1:]], env=my_env)
2927

playwright/_impl/_transport.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,9 @@ async def run(self) -> None:
5353
self._loop = asyncio.get_running_loop()
5454
self._stopped_future: asyncio.Future = asyncio.Future()
5555

56-
driver_env = os.environ.copy()
57-
# VSCode's JavaScript Debug Terminal provides it but driver/pkg does not support it
58-
driver_env.pop("NODE_OPTIONS", None)
59-
6056
proc = await asyncio.create_subprocess_exec(
6157
str(self._driver_executable),
6258
"run-driver",
63-
env=driver_env,
6459
stdin=asyncio.subprocess.PIPE,
6560
stdout=asyncio.subprocess.PIPE,
6661
stderr=_get_stderr_fileno(),

tests/async/test_launcher.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ async def test_browser_type_launch_should_throw_if_page_argument_is_passed(
4141
assert "can not specify page" in exc.value.message
4242

4343

44-
@pytest.mark.skip("currently disabled on upstream")
4544
async def test_browser_type_launch_should_reject_if_launched_browser_fails_immediately(
4645
browser_type, launch_arguments, assetdir
4746
):
@@ -52,9 +51,6 @@ async def test_browser_type_launch_should_reject_if_launched_browser_fails_immed
5251
)
5352

5453

55-
@pytest.mark.skip(
56-
"does not return the expected error"
57-
) # TODO: hangs currently on the bots
5854
async def test_browser_type_launch_should_reject_if_executable_path_is_invalid(
5955
browser_type, launch_arguments
6056
):

tests/async/test_page.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ async def test_expose_function(page, server):
313313
assert result == 36
314314

315315

316-
@pytest.mark.skip("todo mxschmitt")
317316
async def test_expose_function_should_throw_exception_in_page_context(page, server):
318317
def throw():
319318
raise Exception("WOOF WOOF")

0 commit comments

Comments
 (0)