-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27365 from code-dot-org/staging
DTT (Staging > Test) [robo-dtt]
- Loading branch information
Showing
14 changed files
with
222 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
:ruby | ||
studio_url = CDO.studio_url('', CDO.default_scheme) | ||
code_org_url = CDO.code_org_url('', CDO.default_scheme) | ||
|
||
split_test_data = {} | ||
split_test_data[:percentage] = DCDO.get('teacher_dashboard_split_test', 0) | ||
split_test_data[:studioUrlPrefix] = studio_url | ||
split_test_data[:pegasusUrlPrefix] = code_org_url | ||
|
||
teacher_dashboard_data = {} | ||
teacher_dashboard_data[:studioUrlPrefix] = CDO.studio_url('', CDO.default_scheme) | ||
teacher_dashboard_data[:pegasusUrlPrefix] = CDO.code_org_url('', CDO.default_scheme) | ||
teacher_dashboard_data[:studioUrlPrefix] = studio_url | ||
teacher_dashboard_data[:pegasusUrlPrefix] = code_org_url | ||
teacher_dashboard_data[:visibleSections] = @visible_sections | ||
teacher_dashboard_data[:section] = @section | ||
|
||
%script{src: '/shared/js/teacherDashboardSplitTest.js', data: {splittest: split_test_data.to_json}} | ||
|
||
%script{src: minifiable_asset_path('js/teacher_dashboard/show.js'), data: {dashboard: teacher_dashboard_data.to_json}} | ||
|
||
#teacher-dashboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@eyes | ||
@dashboard_db_access | ||
@as_student | ||
Feature: Sprite Lab Eyes | ||
|
||
Scenario: Basic Sprite Lab level | ||
When I open my eyes to test "sprite lab eyes" | ||
And I start a new Sprite Lab project | ||
Then I see no difference for "initial load" | ||
And I've initialized the workspace for the sample Sprite Lab project | ||
Then I see no difference for "preview" | ||
Then I press "runButton" | ||
Then I see no difference for "run" | ||
And I close my eyes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Given /^I start a new Sprite ?Lab project$/ do | ||
steps <<-STEPS | ||
And I am on "http://studio.code.org/projects/spritelab/new" | ||
And I rotate to landscape | ||
And I wait for the page to fully load | ||
STEPS | ||
end |
Oops, something went wrong.