rename all setups and cleanups to test_ for stable test discovery
This commit is contained in:
parent
33a9cca5aa
commit
3839e1e9b1
6 changed files with 8 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ TEST_USER = os.environ["TEST_USER"]
|
|||
TEST_PASS = os.environ["TEST_PASS"]
|
||||
|
||||
|
||||
def setup_admin_state(context: BrowserContext, env_config: dict[str, str], DIR: DirManager, URL: BaseUrl):
|
||||
def test_setup_admin_state(context: BrowserContext, env_config: dict[str, str], DIR: DirManager, URL: BaseUrl):
|
||||
# go to page
|
||||
page = context.new_page()
|
||||
page.goto(URL.get())
|
||||
|
|
@ -83,7 +83,7 @@ def create_user(user_context: BrowserContext, invitelink):
|
|||
expect(page.locator("ak-library")).to_be_visible()
|
||||
|
||||
|
||||
def setup_user_state(
|
||||
def test_setup_user_state(
|
||||
context: BrowserContext, env_config: dict[str, str], DIR: DirManager, URL: BaseUrl, check_if_user_exists
|
||||
):
|
||||
# load admin cookies to context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue