20 lines
534 B
Python
20 lines
534 B
Python
import pytest
|
|
|
|
@pytest.fixture(scope="session")
|
|
def base_url():
|
|
return "http://localhost/Quayso"
|
|
|
|
@pytest.fixture(scope="session")
|
|
def browser_context_args(browser_context_args):
|
|
return {
|
|
**browser_context_args,
|
|
"no_viewport": True, # Ignore default viewport size, allow window to dictate size
|
|
}
|
|
|
|
@pytest.fixture(scope="session")
|
|
def browser_type_launch_args(browser_type_launch_args):
|
|
return {
|
|
**browser_type_launch_args,
|
|
"args": ["--start-maximized"] # Start Chromium maximized
|
|
}
|