diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/integration/test_browse.py | 2 | ||||
| -rw-r--r-- | tests/playwright/test_basic.py | 3 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/integration/test_browse.py b/tests/integration/test_browse.py index 89d6f94..875821d 100644 --- a/tests/integration/test_browse.py +++ b/tests/integration/test_browse.py @@ -68,6 +68,7 @@ def added_tracks(tm, dbsession, owner, data_manager):  def test_browse(testapp, dbsession, route_path, logged_in, tm, data_manager): +    # pylint: disable=too-many-positional-arguments      # Ensure there are some tracks in the database      with added_tracks(tm, dbsession, logged_in, data_manager):          # Now go to the browse page @@ -78,6 +79,7 @@ def test_browse(testapp, dbsession, route_path, logged_in, tm, data_manager):  def test_archive(testapp, dbsession, route_path, logged_in, tm, data_manager): +    # pylint: disable=too-many-positional-arguments      with added_tracks(tm, dbsession, logged_in, data_manager):          archive = testapp.get(              route_path('track-archive', _query=[("track_id[]", "1"), ("track_id[]", "2")]) diff --git a/tests/playwright/test_basic.py b/tests/playwright/test_basic.py index 66ec326..231962e 100644 --- a/tests/playwright/test_basic.py +++ b/tests/playwright/test_basic.py @@ -53,7 +53,7 @@ def test_upload(page: Page, playwright_helper, tmp_path, dbaccess):      # We now fill in most of the data      page.get_by_label("Title", exact=True).fill("An awesome track!")      page.get_by_label("Date").type("07302022") -    page.get_by_label("Date").press("Tab") +    #page.get_by_label("Date").press("Tab")      page.get_by_label("Date").type("12:41")      page.get_by_label("Visibility").select_option(label="Public")      page.get_by_label("Tags").fill("Tolle Tour") @@ -84,7 +84,6 @@ def test_edit(page: Page, playwright_helper, dbaccess):      # We now fill in most of the data      page.get_by_label("Title", exact=True).fill("Not so awesome anymore!")      page.get_by_label("Date").type("09232019") -    page.get_by_label("Date").press("Tab")      page.get_by_label("Date").type("15:28")      page.get_by_label("Visibility").select_option(label="Public")      page.get_by_label("Tags").fill("Shitty Tour")  | 
