spec: change p3s to p2
Change-Id: I740f6194abeae892011697f15a7b66237eeaca88 Reviewed-on: https://gerrit.instructure.com/73754 Reviewed-by: Pedro Fajardo <pfajardo@instructure.com> Tested-by: Jenkins Product-Review: Matt Fairbourn <mfairbourn@instructure.com> QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
This commit is contained in:
parent
2999576bdc
commit
b4d26e0036
|
@ -65,7 +65,7 @@ describe "calendar2" do
|
|||
expect(f('.event-details-timestring')).to include_text("Due: #{due_date}")
|
||||
end
|
||||
|
||||
it "should show short events at full height", priority: "3", test_id: 767454 do
|
||||
it "should show short events at full height", priority: "2", test_id: 767454 do
|
||||
noon = Time.now.at_beginning_of_day + 12.hours
|
||||
@course.calendar_events.create! :title => "ohai", :start_at => noon, :end_at => noon + 5.minutes
|
||||
|
||||
|
@ -75,7 +75,7 @@ describe "calendar2" do
|
|||
expect(elt.size.height).to be >= 18
|
||||
end
|
||||
|
||||
it "should fix up the event's data-start for events after 11:30pm", priority: "3", test_id: 768979 do
|
||||
it "should fix up the event's data-start for events after 11:30pm", priority: "2", test_id: 768979 do
|
||||
time = Time.zone.now.at_beginning_of_day + 23.hours + 45.minutes
|
||||
@course.calendar_events.create! title: 'ohai', start_at: time, end_at: time + 5.minutes
|
||||
|
||||
|
@ -84,7 +84,7 @@ describe "calendar2" do
|
|||
expect(f('.fc-event .fc-time').attribute('data-start')).to eq('11:45')
|
||||
end
|
||||
|
||||
it "should stagger pseudo-overlapping short events", priority: "3", test_id: 768980 do
|
||||
it "should stagger pseudo-overlapping short events", priority: "2", test_id: 768980 do
|
||||
noon = Time.now.at_beginning_of_day + 12.hours
|
||||
first_event = @course.calendar_events.create! :title => "ohai", :start_at => noon, :end_at => noon + 5.minutes
|
||||
second_start = first_event.start_at + 6.minutes
|
||||
|
@ -112,7 +112,7 @@ describe "calendar2" do
|
|||
expect(event.reload.end_at).to eql(noon + 1.hour + 5.minutes)
|
||||
end
|
||||
|
||||
it "doesn't change the time when dragging an event close to midnight", priority: "3", test_id: 768982 do
|
||||
it "doesn't change the time when dragging an event close to midnight", priority: "2", test_id: 768982 do
|
||||
# Choose a fixed date to avoid periodic end-of-week failures
|
||||
close_to_midnight = Time.zone.parse('2015-1-1').beginning_of_day + 1.day - 20.minutes
|
||||
|
||||
|
|
|
@ -99,12 +99,12 @@ describe 'Web conferences' do
|
|||
verify_conference_list_is_empty
|
||||
end
|
||||
|
||||
it 'should set focus to the Add Conference button if there are no preceeding conferences', priority: "3" do
|
||||
it 'should set focus to the Add Conference button if there are no preceeding conferences', priority: "2" do
|
||||
delete_conference
|
||||
check_element_has_focus(new_conference_button)
|
||||
end
|
||||
|
||||
it 'should set focus to the cog menu if the delete was cancelled', priority: "3" do
|
||||
it 'should set focus to the cog menu if the delete was cancelled', priority: "2" do
|
||||
cog_menu_item = f('.al-trigger')
|
||||
delete_conference(cog_menu_item: cog_menu_item, cancel: true)
|
||||
check_element_has_focus(cog_menu_item)
|
||||
|
@ -127,7 +127,7 @@ describe 'Web conferences' do
|
|||
create_wimba_conference('Second Wimba Conference')
|
||||
end
|
||||
|
||||
it 'should set focus to the preceding conference\'s cog after deleting', priority: "3" do
|
||||
it 'should set focus to the preceding conference\'s cog after deleting', priority: "2" do
|
||||
settings_triggers = ff('.al-trigger')
|
||||
delete_conference(cog_menu_item: settings_triggers.last)
|
||||
check_element_has_focus(settings_triggers.first)
|
||||
|
|
|
@ -167,7 +167,7 @@ describe "quizzes" do
|
|||
keep_trying_until { expect(f("#quiz_display_points_possible .points_possible").text).to eq "2" }
|
||||
end
|
||||
|
||||
it "should not let you exceed the question limit", priority: "3", test_id: 210062 do
|
||||
it "should not let you exceed the question limit", priority: "2", test_id: 210062 do
|
||||
get "/courses/#{@course.id}/quizzes/new"
|
||||
|
||||
click_questions_tab
|
||||
|
|
Loading…
Reference in New Issue