Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade requests from 2.31.0 to 2.32.0 #241

Merged
merged 7 commits into from
Oct 4, 2024
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions test/features/data_usability_rating.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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')]"