# Path: tests/conftest.py
# DEFAULT_SERVER = "http://localhost:8888/v1"
# DEFAULT_AUTH = "user:pass"
# DEFAULT_EDITOR_AUTH = "editor:pass"
# DEFAULT_REVIEWER_AUTH = "reviewer:pass"
# DEFAULT_BUCKET = "main-workspace"
# DEFAULT_COLLECTION = "product-integrity"
# def pytest_addoption(parser):
# def server(request) -> str:
# def auth(request) -> Auth:
# def editor_auth(request) -> Auth:
# def reviewer_auth(request) -> Auth:
# def source_bucket(request) -> str:
# def source_collection(request) -> str:
# def keep_existing(request) -> bool:
# def make_client(
#     server: str, source_bucket: str, source_collection: str
# ) -> ClientFactory:
#     def _make_client(auth: Auth) -> AsyncClient:
# async def flush_default_collection(
#     make_client: ClientFactory,
#     auth: Auth,
#     source_bucket: str,
#     source_collection: str,
# ):
# def verify_url(request: FixtureRequest, base_url: str):
# def firefox_options(firefox_options: Options) -> Options:
# def selenium(selenium: WebDriver) -> WebDriver:
# def create_user(request_session: requests.Session, server: str, auth: Auth):


import pytest
from kinto_http.patch_type import JSONPatch
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.by import By
from selenium.webdriver.remote.webdriver import WebDriver
from selenium.webdriver.remote.webelement import WebElement
from .conftest import Auth, ClientFactory



pytestmark = pytest.mark.asyncio


async def test_review_signoff(
    base_url: str,
    selenium: WebDriver,
    make_client: ClientFactory,

# Path: tests/conftest.py
# DEFAULT_SERVER = "http://localhost:8888/v1"
# DEFAULT_AUTH = "user:pass"
# DEFAULT_EDITOR_AUTH = "editor:pass"
# DEFAULT_REVIEWER_AUTH = "reviewer:pass"
# DEFAULT_BUCKET = "main-workspace"
# DEFAULT_COLLECTION = "product-integrity"
# def pytest_addoption(parser):
# def server(request) -> str:
# def auth(request) -> Auth:
# def editor_auth(request) -> Auth:
# def reviewer_auth(request) -> Auth:
# def source_bucket(request) -> str:
# def source_collection(request) -> str:
# def keep_existing(request) -> bool:
# def make_client(
#     server: str, source_bucket: str, source_collection: str
# ) -> ClientFactory:
#     def _make_client(auth: Auth) -> AsyncClient:
# async def flush_default_collection(
#     make_client: ClientFactory,
#     auth: Auth,
#     source_bucket: str,
#     source_collection: str,
# ):
# def verify_url(request: FixtureRequest, base_url: str):
# def firefox_options(firefox_options: Options) -> Options:
# def selenium(selenium: WebDriver) -> WebDriver:
# def create_user(request_session: requests.Session, server: str, auth: Auth):


# Path: tests/browser_test.py
import pytest
from kinto_http.patch_type import JSONPatch
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.by import By
from selenium.webdriver.remote.webdriver import WebDriver
from selenium.webdriver.remote.webelement import WebElement
from .conftest import Auth, ClientFactory




pytestmark = pytest.mark.asyncio


async def test_review_signoff(
    base_url: str,
    selenium: WebDriver,
    make_client: ClientFactory,

    auth: Auth,