Added tags to acceptance tests to define multiple shards.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Advanced (manual) course policy
|
||||
In order to specify course policy settings for which no custom user interface exists
|
||||
I want to be able to manually enter JSON key /value pairs
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Course checklists
|
||||
|
||||
Scenario: A course author sees checklists defined by edX
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Component Adding
|
||||
As a course author, I want to be able to add a wide variety of components
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Course Overview
|
||||
In order to quickly view the details of a course's section and set release dates and grading
|
||||
As a course author
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Course Settings
|
||||
As a course author, I want to be able to configure my course settings.
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Course Team
|
||||
As a course author, I want to be able to add others to my team
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Course updates
|
||||
As a course author, I want to be able to provide updates to my students
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Create Course
|
||||
In order offer a course on the edX platform
|
||||
As a course author
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Discussion Component Editor
|
||||
As a course author, I want to be able to create discussion components.
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Course Grading
|
||||
As a course author, I want to be able to configure how my course is graded
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: HTML Editor
|
||||
As a course author, I want to be able to create HTML blocks.
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Problem Editor
|
||||
As a course author, I want to be able to create problems and edit their settings.
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Create Section
|
||||
In order offer a course on the edX platform
|
||||
As a course author
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Sign in
|
||||
In order to use the edX content
|
||||
As a new user
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Static Pages
|
||||
As a course author, I want to be able to add static pages
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Create Subsection
|
||||
In order offer a course on the edX platform
|
||||
As a course author
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Textbooks
|
||||
|
||||
Scenario: No textbooks
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Upload Files
|
||||
As a course author, I want to be able to upload files for my students
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Video Component Editor
|
||||
As a course author, I want to be able to create video components.
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_3
|
||||
Feature: Video Component
|
||||
As a course author, I want to be able to view my created videos in Studio.
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Verified certificates
|
||||
As a student,
|
||||
In order to earn a verified certificate
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: The help module should work
|
||||
In order to get help
|
||||
As a student
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: All the high level tabs should work
|
||||
In order to preview the courseware
|
||||
As a student
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Homepage for web users
|
||||
In order to get an idea what edX is about
|
||||
As a an anonymous web user
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Login in as a registered user
|
||||
As a registered user
|
||||
In order to access my content
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: LTI component
|
||||
As a student, I want to view LTI component in LMS.
|
||||
|
||||
@@ -14,4 +15,4 @@ Feature: LTI component
|
||||
Scenario: LTI component in LMS is rendered incorrectly
|
||||
Given the course has incorrect LTI credentials
|
||||
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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Navigate Course
|
||||
As a student in an edX course
|
||||
In order to view the course properly
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_1
|
||||
Feature: Answer problems
|
||||
As a student in an edX course
|
||||
In order to test my understanding of the material
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
@shard_1
|
||||
Feature: Register for a course
|
||||
As a registered user
|
||||
In order to access my class content
|
||||
I want to register for a class on the edX website
|
||||
|
||||
Scenario: I can register for a course
|
||||
Scenario: I can register for a course
|
||||
Given The course "6.002x" exists
|
||||
And I am logged in
|
||||
And I visit the courses page
|
||||
When I register for the course "6.002x"
|
||||
Then I should see the course numbered "6.002x" in my dashboard
|
||||
Then I should see the course numbered "6.002x" in my dashboard
|
||||
|
||||
Scenario: I can unregister for a course
|
||||
Scenario: I can unregister for a course
|
||||
Given I am registered for the course "6.002x"
|
||||
And I visit the dashboard
|
||||
Then I should see the course numbered "6.002x" in my dashboard
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@shard_2
|
||||
Feature: Sign in
|
||||
In order to use the edX content
|
||||
As a new user
|
||||
|
||||
@@ -1,39 +1,40 @@
|
||||
@shard_2
|
||||
Feature: Video component
|
||||
As a student, I want to view course videos in LMS.
|
||||
|
||||
Scenario: Video component is fully rendered in the LMS in HTML5 mode
|
||||
Given the course has a Video component in HTML5 mode
|
||||
Then when I view the video it has rendered in HTML5 mode
|
||||
And all sources are correct
|
||||
Given the course has a Video component in HTML5 mode
|
||||
Then when I view the video it has rendered in HTML5 mode
|
||||
And all sources are correct
|
||||
|
||||
# Firefox doesn't have HTML5 (only mp4 - fix here)
|
||||
@skip_firefox
|
||||
Scenario: Autoplay is disabled in LMS for a Video component
|
||||
Given the course has a Video component in HTML5 mode
|
||||
Then when I view the video it does not have autoplay enabled
|
||||
Given the course has a Video component in HTML5 mode
|
||||
Then when I view the video it does not have autoplay enabled
|
||||
|
||||
# Youtube testing
|
||||
Scenario: Video component is fully rendered in the LMS in Youtube mode with HTML5 sources
|
||||
Given youtube server is up and response time is 0.4 seconds
|
||||
And the course has a Video component in Youtube_HTML5 mode
|
||||
Then when I view the video it has rendered in Youtube mode
|
||||
# Youtube testing
|
||||
Scenario: Video component is fully rendered in the LMS in Youtube mode with HTML5 sources
|
||||
Given youtube server is up and response time is 0.4 seconds
|
||||
And the course has a Video component in Youtube_HTML5 mode
|
||||
Then when I view the video it has rendered in Youtube mode
|
||||
|
||||
Scenario: Video component is not rendered in the LMS in Youtube mode with HTML5 sources
|
||||
Given youtube server is up and response time is 2 seconds
|
||||
And the course has a Video component in Youtube_HTML5 mode
|
||||
Then when I view the video it has rendered in HTML5 mode
|
||||
Scenario: Video component is not rendered in the LMS in Youtube mode with HTML5 sources
|
||||
Given youtube server is up and response time is 2 seconds
|
||||
And the course has a Video component in Youtube_HTML5 mode
|
||||
Then when I view the video it has rendered in HTML5 mode
|
||||
|
||||
Scenario: Video component is rendered in the LMS in Youtube mode without HTML5 sources
|
||||
Given youtube server is up and response time is 2 seconds
|
||||
And the course has a Video component in Youtube mode
|
||||
Then when I view the video it has rendered in Youtube mode
|
||||
Scenario: Video component is rendered in the LMS in Youtube mode without HTML5 sources
|
||||
Given youtube server is up and response time is 2 seconds
|
||||
And the course has a Video component in Youtube mode
|
||||
Then when I view the video it has rendered in Youtube mode
|
||||
|
||||
Scenario: Video component is rendered in the LMS in Youtube mode with HTML5 sources that doesn't supported by browser
|
||||
Given youtube server is up and response time is 2 seconds
|
||||
And the course has a Video component in Youtube_HTML5_Unsupported_Video mode
|
||||
Then when I view the video it has rendered in Youtube mode
|
||||
Scenario: Video component is rendered in the LMS in Youtube mode with HTML5 sources that doesn't supported by browser
|
||||
Given youtube server is up and response time is 2 seconds
|
||||
And the course has a Video component in Youtube_HTML5_Unsupported_Video mode
|
||||
Then when I view the video it has rendered in Youtube mode
|
||||
|
||||
Scenario: Video component is rendered in the LMS in HTML5 mode with HTML5 sources that doesn't supported by browser
|
||||
Given the course has a Video component in HTML5_Unsupported_Video mode
|
||||
Then error message is shown
|
||||
And error message has correct text
|
||||
Scenario: Video component is rendered in the LMS in HTML5 mode with HTML5 sources that doesn't supported by browser
|
||||
Given the course has a Video component in HTML5_Unsupported_Video mode
|
||||
Then error message is shown
|
||||
And error message has correct text
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
@shard_2
|
||||
Feature: World Cloud component
|
||||
As a student, I want to view Word Cloud component in LMS.
|
||||
As a student, I want to view Word Cloud component in LMS.
|
||||
|
||||
Scenario: Word Cloud component in LMS is rendered with empty result
|
||||
Given the course has a Word Cloud component
|
||||
Then I view the word cloud and it has rendered
|
||||
When I press the Save button
|
||||
Then I see the empty result
|
||||
Given the course has a Word Cloud component
|
||||
Then I view the word cloud and it has rendered
|
||||
When I press the Save button
|
||||
Then I see the empty result
|
||||
|
||||
Scenario: Word Cloud component in LMS is rendered with result
|
||||
Given the course has a Word Cloud component
|
||||
Then I view the word cloud and it has rendered
|
||||
When I fill inputs
|
||||
And I press the Save button
|
||||
Then I see the result with words count
|
||||
Given the course has a Word Cloud component
|
||||
Then I view the word cloud and it has rendered
|
||||
When I fill inputs
|
||||
And I press the Save button
|
||||
Then I see the result with words count
|
||||
|
||||
Reference in New Issue
Block a user