Skip to content

Commit

Permalink
add debugging to problematic scenario test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Oct 4, 2024
1 parent 48e6db2 commit 1c428af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/features/data_usability_rating.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ 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-')]" 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"
Then I should see an element with xpath "//div[contains(@class, 'qa openness-4')]"

0 comments on commit 1c428af

Please sign in to comment.