Skip to content

Commit

Permalink
Updated a few capybara tests for description text wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBroyles committed Oct 25, 2024
1 parent d71ad67 commit ec1afc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/feature/non_comp/reviews_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ def current_table_rows
# expect(page).to have_content("Viewing 1-2 of 2 total")

# Remove these 3 once Last 7 days pre filter is added back
expect(page).to have_content("Cases completed:")
expect(page).to have_content(COPY::VHA_QUEUE_PAGE_COMPLETE_TASKS_DESCRIPTION)
expect(page).to_not have_content("Date Completed (1)")
expect(page).to have_content("Viewing 1-3 of 3 total")

Expand Down Expand Up @@ -1102,7 +1102,9 @@ def current_table_rows
visit BASE_URL
expect(page).to have_content("Veterans Health Administration")
click_on "Completed Tasks"
expect(page).to have_content(COPY::QUEUE_PAGE_COMPLETE_LAST_SEVEN_DAYS_TASKS_DESCRIPTION)
expect(page).to have_content(COPY::VHA_QUEUE_PAGE_COMPLETE_TASKS_DESCRIPTION)
# Add this back in once the last 7 days pre filter is added again
# expect(page).to have_content(COPY::QUEUE_PAGE_COMPLETE_LAST_SEVEN_DAYS_TASKS_DESCRIPTION)
click_button "Download completed tasks"

# Check the csv to make sure it returns the two task rows within the last week and the header row
Expand Down

0 comments on commit ec1afc2

Please sign in to comment.