various #16
1 changed files with 2 additions and 3 deletions
|
|
@ -14,11 +14,10 @@ ADMIN_PASS = os.environ["ADMIN_PASS"]
|
|||
TESTUSER = {"username": "testuser", "name": "Test User", "password": "test123", "email": "test@example.com"}
|
||||
|
||||
|
||||
def setup_admin_state(context: BrowserContext, env_config: dict[str, str], DIR: DirManager):
|
||||
def setup_admin_state(context: BrowserContext, env_config: dict[str, str], DIR: DirManager, URL: BaseUrl):
|
||||
# go to page
|
||||
page = context.new_page()
|
||||
url = "https://" + env_config["DOMAIN"]
|
||||
page.goto(url)
|
||||
page.goto(URL.get())
|
||||
|
||||
# check welcome message
|
||||
welcome_message = env_config.get("welcome_message")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue