test: isolate Search Preview browser checks
This commit is contained in:
parent
24f781d398
commit
8de2318f43
|
|
@ -1,10 +1,13 @@
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
if os.getenv("STACKCHAIN_RUN_RELEASE_E2E") != "1":
|
||||||
|
pytest.skip("rendered mobile Search Preview checks run only in the browser gate", allow_module_level=True)
|
||||||
pytest.importorskip("playwright.sync_api")
|
pytest.importorskip("playwright.sync_api")
|
||||||
from playwright.sync_api import expect, sync_playwright
|
from playwright.sync_api import expect, sync_playwright
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user