Skip to content

Commit

Permalink
Merge branch 'fix/strip-panel-controller-attribute' of github.com:avo…
Browse files Browse the repository at this point in the history
…-hq/avo into fix/strip-panel-controller-attribute
  • Loading branch information
Paul-Bob committed Jan 27, 2025
2 parents 996a57d + dd75f1d commit 8a49996
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/system/avo/date_time_fields/date_time_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
expect(text_input.value).to eq "2000-01-01 06:00:00"

save
wait_for_loaded

expect(show_field_value(id: :started_at)).to eq "January 01, 2000 06:00:00 UTC"
end
Expand Down
3 changes: 3 additions & 0 deletions spec/system/avo/date_time_fields/time_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
expect(text_input.value).to eq "16:30"

save
wait_for_loaded

expect(find_field_value_element("starting_at").text).to eq "16:30"
end
Expand Down Expand Up @@ -105,6 +106,7 @@
expect(text_input.value).to eq "16:30"

save
wait_for_loaded

expect(find_field_value_element("starting_at").text).to eq "16:30"
end
Expand Down Expand Up @@ -226,6 +228,7 @@
close_picker

save
wait_for_loaded

expect(find_field_value_element("starting_at").text).to eq "09:30"
end
Expand Down
3 changes: 3 additions & 0 deletions spec/system/avo/date_time_fields/timezone_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
close_picker

save
wait_for_loaded

expect(show_field_value(id: :started_at)).to eq "March 25, 2024 09:24:17 CET"
end
Expand Down Expand Up @@ -101,6 +102,7 @@
expect(text_input.value).to eq "2024-03-25 08:23:00"

save
wait_for_loaded

expect(show_field_value(id: :started_at)).to eq "March 25, 2024 08:23:00 UTC"
end
Expand All @@ -119,6 +121,7 @@
close_picker

save
wait_for_loaded

expect(show_field_value(id: :started_at)).to eq "March 25, 2024 08:24:17 UTC"
end
Expand Down

0 comments on commit 8a49996

Please sign in to comment.