Skip to content

Commit

Permalink
Merge pull request #42229 from code-dot-org/unversioned-course-redirects
Browse files Browse the repository at this point in the history
ui test unversioned course and script redirects
  • Loading branch information
davidsbailey committed Aug 31, 2021
2 parents cc58dfc + b35cc37 commit 0aac91d
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,17 @@ Scenario: Switch versions using dropdown on script overview page
Scenario: Course unit family names redirect to 2019 version
When I am on "http://studio.code.org/s/csp3"
And I get redirected to "/s/csp3-2019" via "dashboard"

@as_student
@no_mobile
Scenario: Unversioned course url redirects to latest course version
When I am on "http://studio.code.org/courses/ui-test-course"
And I get redirected to "/courses/ui-test-course-2019" via "dashboard"
Then I wait to see ".uitest-CourseScript"

@as_student
@no_mobile
Scenario: Unversioned script url redirects to latest script version
When I am on "http://studio.code.org/s/ui-test-versioned-script"
And I get redirected to "/s/ui-test-versioned-script-2019" via "dashboard"
Then I wait to see ".uitest-toggle-detail"

0 comments on commit 0aac91d

Please sign in to comment.