Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions dashboard/lib/tasks/seed.rake
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,11 @@ namespace :seed do
alltheselfpacedplthings
allthethings
allthettsthings
dance
flappy
frozen
hero
hourofcode
mc
starwars
oceans
mix-move-ai-2025
).map {|script| "#{CURRICULUM_CONTENT_DIR}/config/scripts_json/#{script}.script_json"}.freeze
Expand Down Expand Up @@ -258,7 +256,6 @@ namespace :seed do
allthelessonplans
alltheselfpacedplthings
allthettsthings
dance
flappy
frozen
hero
Expand All @@ -267,7 +264,6 @@ namespace :seed do
original-allthelessonplans-course
original-allthethings-course
original-alltheselfpacedplthings-course
starwars
oceans
mix-move-ai-2025).each do |course_name|
UnitGroup.load_from_path("#{CURRICULUM_CONTENT_DIR}/config/courses/#{course_name}.course")
Expand Down
2 changes: 1 addition & 1 deletion dashboard/test/ui/features/eyes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Scenario:

Scenario:
When I open my eyes to test "star wars RTL"
Given I am on "http://studio.code.org/courses/starwars/units/1/lessons/1/levels/15/lang/ar-sa?noautoplay=true"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/24/levels/9/lang/ar-sa?noautoplay=true"
And The header is finished animating
And I wait to see ".header_user"
And I wait to see "#runButton"
Expand Down
2 changes: 1 addition & 1 deletion dashboard/test/ui/features/star_labs/blocklayout.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Feature: Block auto-layout
Background:
Given I am on "http://studio.code.org/flappy/10?noautoplay=true"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/7/levels/2?noautoplay=true"
And I wait for the lab page to fully load

Scenario: Auto-placing malformed start blocks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: Dance Lab Age Filter 2
And I see option "Synthesize" or "Steve Lacy - Bad Habit" in the dropdown "#song_selector"

# session cookie should persist and no dialog should show up
Then I am on "http://studio.code.org/courses/dance/units/1/lessons/1/levels/9"
Then I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/37/levels/5"
And I wait for the lab page to fully load
And I wait for 3 seconds
And I wait until I don't see selector "#p5_loading"
Expand Down
2 changes: 1 addition & 1 deletion dashboard/test/ui/features/star_labs/sharepage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Feature: Puzzle share page

Scenario: Share a flappy game, visit the share page, and visit the workspace
Given I am on "http://studio.code.org/flappy/10?noautoplay=true"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/7/levels/2?noautoplay=true"
And I wait for the lab page to fully load
And I've initialized the workspace with my flappy puzzle.

Expand Down
2 changes: 1 addition & 1 deletion dashboard/test/ui/features/step_definitions/dance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Given /^I load the Dance Party free play level/i do
individual_steps <<-STEPS
And I am on "http://studio.code.org/courses/dance/units/1/lessons/1/levels/13?noautoplay=true"
And I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/37/levels/8?noautoplay=true"
And I wait until I see selector "#runButton"
And I bypass the age dialog
And I close the instructions overlay if it exists
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Feature: Cached level page

# Teacher panel loads as expected on cached level page
Given I sign in as "Teacher Monica"
Then I navigate to the course "dance" unit 1 lesson 1 level 13 for the section I saved
Then I navigate to the course "allthethingscourse" unit 1 lesson 37 level 8 for the section I saved
And I wait until element "#teacher-panel-container" is visible
And I wait until element "td:eq(1)" contains text "Joey"
And I wait for 20 seconds
2 changes: 1 addition & 1 deletion dashboard/test/ui/features/teacher_tools/pairing.feature
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Feature: Student pairing
And I join the section
Given I create a student named "Thing_Two"
And I join the section
Given I am on "http://studio.code.org/courses/starwars/units/1/lessons/1/levels/5"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/24/levels/7"
And I wait for the lab page to fully load
Then I initiate pairing
And I verify the user menu shows "Thing_One" and "Thing_Two" are in a pairing group
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: Announcement for AI Assessments
Given I am a teacher

# no announcement on non-ai units
When I am on "http://studio.code.org/courses/flappy/units/1"
When I am on "http://studio.code.org/courses/ui-test-csf/units/1"
Then I wait until element "#uitest-no-ai-assessments-announcement" is visible

# announcement visible on ai unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Background:
@eyes
Scenario: Fallback player
When I open my eyes to test "fallback player"
Given I am on "http://studio.code.org/flappy/1?force_youtube_fallback"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/7/levels/1?force_youtube_fallback"
When I wait to see "#x-close"
Then I see ".video-js"
And I see no difference for "fallback video player for level"
Expand All @@ -33,14 +33,14 @@ Scenario: Fallback player for embedded
# either, and therefore does not work in any browser we currently run.
@skip
Scenario: Flash fallback player gets injected in Chrome (assuming Flash is available)
Given I am on "http://studio.code.org/flappy/1?force_youtube_fallback"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/7/levels/1?force_youtube_fallback"
When I wait to see "#x-close"
Then I see ".video-js"
Then I see jquery selector object[type='application/x-shockwave-flash']

@no_mobile
Scenario: Normal player
Given I am on "http://studio.code.org/flappy/1"
Given I am on "http://studio.code.org/courses/allthethingscourse/units/1/lessons/7/levels/1"
And I wait to see "#x-close"
Then I see "#video"
Then I see the first Flappy YouTube video with the correct parameters
Loading