Add new test for non-sharing, fix non-sharing use case
This commit is contained in:
@@ -25,6 +25,7 @@ import pytest
|
||||
from playwright.sync_api import BrowserContext, Page, expect
|
||||
|
||||
from integ_tests.common import (
|
||||
NOSHARE_HTPASSWD,
|
||||
SHARING_HTPASSWD,
|
||||
SHARING_XREMOTE,
|
||||
Config,
|
||||
@@ -41,7 +42,7 @@ def radicale_server(
|
||||
yield from start_radicale_server(tmp_path, config)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("config", [SHARING_HTPASSWD, SHARING_XREMOTE])
|
||||
@pytest.mark.parametrize("config", [SHARING_HTPASSWD, SHARING_XREMOTE, NOSHARE_HTPASSWD])
|
||||
def test_delete_wrong_confirmation(
|
||||
context: BrowserContext, page: Page, radicale_server: str, config: Config
|
||||
) -> None:
|
||||
@@ -67,7 +68,7 @@ def test_delete_wrong_confirmation(
|
||||
expect(page.locator("#deleteconfirmationscene")).to_be_visible()
|
||||
|
||||
|
||||
@pytest.mark.parametrize("config", [SHARING_HTPASSWD, SHARING_XREMOTE])
|
||||
@pytest.mark.parametrize("config", [SHARING_HTPASSWD, SHARING_XREMOTE, NOSHARE_HTPASSWD])
|
||||
def test_delete_correct_confirmation(
|
||||
context: BrowserContext, page: Page, radicale_server: str, config: Config
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user