Skip to content
Snippets Groups Projects
Commit 2b6d12d0 authored by Dimas FM's avatar Dimas FM
Browse files

use isHeadless variable

parent 6240075f
Branches
No related merge requests found
......@@ -56,7 +56,7 @@ def not_owned_post ():
def test_delete_post(playwright: Playwright, owned_post, not_owned_post) -> None:
print(owned_post)
print(not_owned_post)
browser = playwright.chromium.launch(headless=False)
browser = playwright.chromium.launch(headless=USE_HEADLESS)
context = browser.new_context()
page = context.new_page()
page.goto(URL)
......
......@@ -55,7 +55,7 @@ def not_owned_post ():
connection.commit()
def test_edit_post(playwright: Playwright, owned_post, not_owned_post) -> None:
browser = playwright.chromium.launch(headless=False)
browser = playwright.chromium.launch(headless=USE_HEADLESS)
context = browser.new_context()
page = context.new_page()
page.goto(URL)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment