adjust filters

This commit is contained in:
Pete Matsyburka
2024-11-23 01:45:10 +02:00
parent b86aac86d1
commit 9beaaa0851
28 changed files with 410 additions and 304 deletions
+2 -2
View File
@@ -183,7 +183,7 @@ RSpec.describe 'Template' do
end
page.find('.dropdown', text: 'Filter').click
click_link 'Created At'
click_link 'Created at'
within '#modal' do
fill_in 'From', with: I18n.l(10.days.ago, format: '%Y-%m-%d')
fill_in 'To', with: I18n.l(6.days.ago, format: '%Y-%m-%d')
@@ -218,7 +218,7 @@ RSpec.describe 'Template' do
end
page.find('.dropdown', text: 'Filter').click
click_link 'Completed At'
click_link 'Completed at'
within '#modal' do
fill_in 'From', with: I18n.l(5.days.ago, format: '%Y-%m-%d')
fill_in 'To', with: I18n.l(1.day.ago, format: '%Y-%m-%d')