Skip to content

Commit

Permalink
Merge pull request #19219 from code-dot-org/fix-mc-i18n-test
Browse files Browse the repository at this point in the history
Reenable MC i18n test
  • Loading branch information
Hamms committed Nov 16, 2017
2 parents 6ccad7f + cd17082 commit ff90fc6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dashboard/test/ui/features/i18n.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ Scenario: Frozen tutorial in Spanish
Given I am on "http://studio.code.org/reset_session/lang/en"
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/1/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_01_RETRY_instruction"
Given I am on "http://studio.code.org/reset_session/lang/en"
And I wait for 2 seconds

Scenario: HoC tutorial in Portuguese
Given I am on "http://studio.code.org/hoc/15/lang/pt-br"
And I rotate to landscape
Expand All @@ -46,6 +54,14 @@ Scenario: Frozen tutorial in Portuguese
Given I am on "http://studio.code.org/reset_session/lang/en"
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/1/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_01_RETRY_instruction"
Given I am on "http://studio.code.org/reset_session/lang/pt-BR"
And I wait for 2 seconds

Scenario: HoC tutorial in Arabic (RTL)
Given I am on "http://studio.code.org/hoc/15/lang/ar-sa"
And I rotate to landscape
Expand All @@ -68,3 +84,10 @@ Scenario: Frozen tutorial in Arabic (RTL)
Given I am on "http://studio.code.org/reset_session/lang/en"
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/1/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_01_RETRY_instruction"
Given I am on "http://studio.code.org/reset_session/lang/en"
And I wait for 2 seconds

0 comments on commit ff90fc6

Please sign in to comment.