Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable flaky tests until they can be addressed by update in Lux #1187

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions spec/features/my_requests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
before do
sign_in user
end

scenario "I can filter my requests" do
# Re-enable this test after https://github.com/pulibrary/lux-design-system/issues/348 is completed and added to Approvals
xscenario "I can filter my requests" do
Timecop.freeze(Time.utc(2022))

FactoryBot.create(:absence_request, creator: staff_profile, start_date: Date.parse("2019-10-12"), end_date: Date.parse("2019-10-13"))
Expand Down Expand Up @@ -50,8 +50,8 @@

Timecop.return
end

scenario "I can sort my requests" do
# Re-enable this test after https://github.com/pulibrary/lux-design-system/issues/348 is completed and added to Approvals
xscenario "I can sort my requests" do
yesterday_request = FactoryBot.create(:absence_request, creator: staff_profile, start_date: Time.zone.yesterday)
today_request = FactoryBot.create(:travel_request, creator: staff_profile, start_date: Time.zone.today)
tomorrow_request = FactoryBot.create(:absence_request, creator: staff_profile, start_date: Time.zone.tomorrow)
Expand Down
3 changes: 2 additions & 1 deletion spec/features/report_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
Timecop.return
end

scenario "I can filter reports" do
# Re-enable this test after https://github.com/pulibrary/lux-design-system/issues/348 is completed and added to Approvals
xscenario "I can filter reports" do
Timecop.freeze(Time.utc(2019, "oct", 20))

direct_report = FactoryBot.create :staff_profile, supervisor: staff_profile, department: staff_profile.department, given_name: "Sally", surname: "Smith"
Expand Down