Skip to content

Commit

Permalink
fix test expectations to wait for usability upgrade
Browse files Browse the repository at this point in the history
- Resources with a schema will initially be 3 ticks and then upgraded once Validation runs
  • Loading branch information
ThrawnCA committed Oct 4, 2024
1 parent e8d19a4 commit 0c2ea73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/features/data_usability_rating.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Data usability rating
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
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
Expand Down

0 comments on commit 0c2ea73

Please sign in to comment.