From 5aa8fed8a8a68c8159e07f57694466888884d53d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 21 May 2024 08:25:10 +0000 Subject: [PATCH 1/2] fix: dev-requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-6928867 --- dev-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index c669c32f..a8bc18e9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -14,3 +14,4 @@ python-magic==0.4.18 progressbar==2.5 pika>=1.1.0,<1.3.0 # resolve harvester conflict +requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability From 605676f088f9781eb0f3246a30689fe9078dde0c Mon Sep 17 00:00:00 2001 From: antuarc Date: Fri, 4 Oct 2024 15:22:59 +1000 Subject: [PATCH 2/2] disable debugging --- test/features/data_usability_rating.feature | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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')]"