Add ability to display LTI module in a new window. Iframe will be still supported. Fix python test Update acceptance tests Fix in acceptance tests, they are stable now Fix Acceptance tests. Adding Jasmine tests for LTI. Fixing Jasmine tests. Adding the rest of Jasmine tests.
29 lines
1.3 KiB
Gherkin
29 lines
1.3 KiB
Gherkin
@shard_1
|
|
Feature: LMS.LTI component
|
|
As a student, I want to view LTI component in LMS.
|
|
|
|
Scenario: LTI component in LMS with no launch_url is not rendered
|
|
Given the course has correct LTI credentials
|
|
And the course has an LTI component with no_launch_url fields, new_page is false
|
|
Then I view the LTI and error is shown
|
|
|
|
Scenario: LTI component in LMS with incorrect lti_id is rendered incorrectly
|
|
Given the course has correct LTI credentials
|
|
And the course has an LTI component with incorrect_lti_id fields, new_page is false
|
|
Then I view the LTI but incorrect_signature warning is rendered
|
|
|
|
Scenario: LTI component in LMS is rendered incorrectly
|
|
Given the course has incorrect LTI credentials
|
|
And the course has an LTI component with correct fields, new_page is false
|
|
Then I view the LTI but incorrect_signature warning is rendered
|
|
|
|
Scenario: LTI component in LMS is correctly rendered in new page
|
|
Given the course has correct LTI credentials
|
|
And the course has an LTI component with correct fields, new_page is true
|
|
Then I view the LTI and it is rendered in new page
|
|
|
|
Scenario: LTI component in LMS is correctly rendered in iframe
|
|
Given the course has correct LTI credentials
|
|
And the course has an LTI component with correct fields, new_page is false
|
|
Then I view the LTI and it is rendered in iframe
|