diff --git a/dev-requirements.txt b/dev-requirements.txt index 22694bd3..c6b8e2cb 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -12,7 +12,7 @@ pika>=1.1.0,<1.3.0 # resolve harvester conflict progressbar==2.5 pytest-ckan python-magic==0.4.18 -requests>=2.31.0 # not directly required, pinned by Snyk to avoid a vulnerability +requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability selenium<4.10 six>=1.13.0 typer<0.11 # We still need Click 7 for now diff --git a/test/features/data_usability_rating.feature b/test/features/data_usability_rating.feature index 5aacd7f1..f65e8e80 100644 --- a/test/features/data_usability_rating.feature +++ b/test/features/data_usability_rating.feature @@ -24,12 +24,11 @@ Feature: Data usability rating Scenario: As a publisher, when I create an open resource with a matching schema, I can verify the score is upgraded from 3 to 4 Given "TestOrgEditor" as the persona When I log in - And I set "debug" to "True" And I create a dataset and resource with key-value parameters "license=other-open" and "format=CSV::upload=test_game_data.csv::schema=default" And I press the element with xpath "//ol[contains(@class, 'breadcrumb')]//a[starts-with(@href, '/dataset/')]" And I reload page every 3 seconds until I see an element with xpath "//div[contains(@class, 'qa') and contains(@class, 'openness-4')]" but not more than 10 times Then I should not see an element with xpath "//div[contains(@class, 'openness-3')]" And I should see an element with xpath "//div[contains(@class, 'openness-4')]" When I take a debugging screenshot - When I press "Test Resource" + And I press "Test Resource" Then I should see an element with xpath "//div[contains(@class, 'qa openness-4')]"