add docstring for nextcloud quota test
This commit is contained in:
parent
b3a7ba876f
commit
00bfafebd3
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ from playwright.sync_api import Page, expect
|
||||||
|
|
||||||
|
|
||||||
def test_nextcloud_quota(nextcloud_admin_page: Page, env_config: dict[str, str]):
|
def test_nextcloud_quota(nextcloud_admin_page: Page, env_config: dict[str, str]):
|
||||||
"""Test Nextcloud"""
|
"""Tests if the quota set in .env file matches the actual quota shown on the page within 10%"""
|
||||||
if env_config.get("DEFAULT_QUOTA"):
|
if env_config.get("DEFAULT_QUOTA"):
|
||||||
# get quota from website
|
# get quota from website
|
||||||
quota_string = nextcloud_admin_page.get_by_text(
|
quota_string = nextcloud_admin_page.get_by_text(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue