Fix
This commit is contained in:
@@ -3,15 +3,15 @@ Feature: LTI component
|
|||||||
|
|
||||||
Scenario: LTI component in LMS is not rendered
|
Scenario: LTI component in LMS is not rendered
|
||||||
Given the course has correct LTI credentials
|
Given the course has correct LTI credentials
|
||||||
And the course has a LTI component with incorrect fields
|
And the course has an LTI component with incorrect fields
|
||||||
Then I view the LTI and it is not rendered
|
Then I view the LTI and it is not rendered
|
||||||
|
|
||||||
Scenario: LTI component in LMS is rendered
|
Scenario: LTI component in LMS is rendered
|
||||||
Given the course has correct LTI credentials
|
Given the course has correct LTI credentials
|
||||||
And the course has a LTI component filled with correct fields
|
And the course has an LTI component filled with correct fields
|
||||||
Then I view the LTI and it is rendered
|
Then I view the LTI and it is rendered
|
||||||
|
|
||||||
Scenario: LTI component in LMS is rendered incorrectly
|
Scenario: LTI component in LMS is rendered incorrectly
|
||||||
Given the course has incorrect LTI credentials
|
Given the course has incorrect LTI credentials
|
||||||
And the course has a LTI component filled with correct fields
|
And the course has an LTI component filled with correct fields
|
||||||
Then I view the LTI but incorrect_signature warning is rendered
|
Then I view the LTI but incorrect_signature warning is rendered
|
||||||
@@ -91,7 +91,7 @@ def set_incorrect_lti_passport(_step):
|
|||||||
i_am_registered_for_the_course(coursenum, metadata)
|
i_am_registered_for_the_course(coursenum, metadata)
|
||||||
|
|
||||||
|
|
||||||
@step('the course has a LTI component filled with correct fields$')
|
@step('the course has an LTI component filled with correct fields$')
|
||||||
def add_correct_lti_to_course(_step):
|
def add_correct_lti_to_course(_step):
|
||||||
category = 'lti'
|
category = 'lti'
|
||||||
world.ItemFactory.create(
|
world.ItemFactory.create(
|
||||||
@@ -116,7 +116,7 @@ def add_correct_lti_to_course(_step):
|
|||||||
world.browser.visit(url)
|
world.browser.visit(url)
|
||||||
|
|
||||||
|
|
||||||
@step('the course has a LTI component with incorrect fields$')
|
@step('the course has an LTI component with incorrect fields$')
|
||||||
def add_incorrect_lti_to_course(_step):
|
def add_incorrect_lti_to_course(_step):
|
||||||
category = 'lti'
|
category = 'lti'
|
||||||
world.ItemFactory.create(
|
world.ItemFactory.create(
|
||||||
|
|||||||
Reference in New Issue
Block a user