Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new Agent i18n test #19202

Merged
merged 1 commit into from
Nov 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions dashboard/test/ui/features/i18n.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Scenario: Frozen tutorial in Spanish
And I wait for 2 seconds

Scenario: Minecraft:Agent tutorial in Spanish
Given I am on "http://studio.code.org/s/hero/stage/1/puzzle/2/lang/es"
Given I am on "http://studio.code.org/s/hero/stage/1/puzzle/12/lang/es"
And I rotate to landscape
And I wait for the page to fully load
Then element ".csf-top-instructions p" has "es" text from key "data.instructions.MC_HOC_2017_02_Cole_instruction"
Then element ".csf-top-instructions p" has "es" text from key "data.instructions.MC_HOC_2017_FP20x20_instruction"
Given I am on "http://studio.code.org/reset_session/lang/en"
And I wait for 2 seconds

Expand Down Expand Up @@ -55,10 +55,10 @@ Scenario: Frozen tutorial in Portuguese
And I wait for 2 seconds

Scenario: Minecraft:Agent tutorial in Portuguese
Given I am on "http://studio.code.org/s/hero/stage/1/puzzle/2/lang/pt-br"
Given I am on "http://studio.code.org/s/hero/stage/1/puzzle/12/lang/pt-br"
And I rotate to landscape
And I wait for the page to fully load
Then element ".csf-top-instructions p" has "pt-BR" text from key "data.instructions.MC_HOC_2017_02_Cole_instruction"
Then element ".csf-top-instructions p" has "pt-BR" text from key "data.instructions.MC_HOC_2017_FP20x20_instruction"
Given I am on "http://studio.code.org/reset_session/lang/pt-BR"
And I wait for 2 seconds

Expand All @@ -85,9 +85,9 @@ Scenario: Frozen tutorial in Arabic (RTL)
And I wait for 2 seconds

Scenario: Minecraft:Agent tutorial in Arabic (RTL)
Given I am on "http://studio.code.org/s/hero/stage/1/puzzle/2/lang/ar-sa"
Given I am on "http://studio.code.org/s/hero/stage/1/puzzle/12/lang/ar-sa"
And I rotate to landscape
And I wait for the page to fully load
Then element ".csf-top-instructions p" has "ar-SA" text from key "data.instructions.MC_HOC_2017_02_Cole_instruction"
Then element ".csf-top-instructions p" has "ar-SA" text from key "data.instructions.MC_HOC_2017_FP20x20_instruction"
Given I am on "http://studio.code.org/reset_session/lang/en"
And I wait for 2 seconds