mirror of
https://github.com/SigNoz/signoz.git
synced 2026-02-03 08:33:26 +00:00
## 📄 Summary
- Instead of relying on JWT for session management, we are adding another token system: opaque. This gives the benefits of expiration and revocation.
- We are now ensuring that emails are regex checked throughout the backend.
- Support has been added for OIDC protocol
22 lines
625 B
Python
22 lines
625 B
Python
import pytest
|
|
from selenium import webdriver
|
|
|
|
|
|
@pytest.fixture(name="driver", scope="function")
|
|
def driver() -> webdriver.Chrome:
|
|
"""
|
|
Get a driver for the browser. This is not a fixture, it is a helper function to get a driver for the browser.
|
|
"""
|
|
|
|
options = webdriver.ChromeOptions()
|
|
options.add_argument("--headless")
|
|
options.add_argument("--incognito")
|
|
options.add_argument("--disable-extensions")
|
|
options.add_argument("--remote-debugging-port=9222")
|
|
options.add_argument("--disable-dev-shm-usage")
|
|
|
|
_driver = webdriver.Chrome(options=options)
|
|
yield _driver
|
|
|
|
_driver.quit()
|