Skip to content

Commit

Permalink
[QOLDEV-312] adjust test dataset linked to data request
Browse files Browse the repository at this point in the history
- Ensure we select the specific dataset we want
  • Loading branch information
ThrawnCA committed Sep 5, 2023
1 parent baa7633 commit db9469d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/features/datarequest_circumstances.feature
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Feature: Datarequest-circumstances
And I select "Open dataset already exists" from "close_circumstance"
And I wait for 1 seconds
# Have to use JS to change the selected value as the behaving framework does not work with autocomplete dropdown
And I execute the script "$('#field-accepted_dataset_id').val($('#field-accepted_dataset_id option:eq(1)').attr('value'))"
And I execute the script "$('#field-accepted_dataset_id option:contains(\\'Dataset for data requests\\')').attr('selected', true)"
And I press the element with xpath "//button[contains(@class, 'btn-danger') and @name='close']"
Then I should see "Accepted dataset" within 1 seconds
And I should see "Dataset for data requests" within 1 seconds
Expand Down

0 comments on commit db9469d

Please sign in to comment.