Skip to content

Commit

Permalink
Merge pull request #241 from qld-gov-au/snyk-fix-a6ab60e923f3d263c827…
Browse files Browse the repository at this point in the history
…5c080280ca90

[Snyk] Security upgrade requests from 2.31.0 to 2.32.0
  • Loading branch information
ThrawnCA authored Oct 4, 2024
2 parents 2ff5bf7 + 605676f commit f01e611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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')]"

0 comments on commit f01e611

Please sign in to comment.