Content translation/Developers/GWT-Definitions

Instruction Card
Scenario: Visibility of the Instruction Card

Given I am logged into the CX wiki When I enter the translation interface Then the Instructions card should be visible in the third column

Given I am logged into the CX wiki And am in the translation interface with an article already open When type text in the translation column Then the Instructions card should be visible in the third column until I stop typing (currently it keeps showing up and vanishing randomly when people are typing)

Given I am logged into the CX wiki And am in the translation interface with an article already open When I click add some text in the translation column And the Machine Translation card is displayed Then the Instructions card should not be visible in the third column

Given I am logged into the CX wiki And am in the translation interface with an article already open When I click add some text in the translation column And I click inside the translation column And the Machine Translation card is displayed Then the Instructions card should not be visible in the third column

Given I am logged into the CX wiki And am in the translation interface with an article already open When I click on a link in the source column or translation column And one or more link cards are displayed Then the Instructions card should not be visible in the third column

Given I am logged into the CX wiki And am in the translation interface with an article already open When I select some text in source column And a Definition card is displayed Then the Instructions card should not be visible in the third column

Given I am logged into the CX wiki And am in the translation interface with an article already open When I select some text in translation column And one or more link cards are displayed Then the Instructions card should not be visible in the third column

Advanced Feature (not in design, but recommended by PM during discussions)

Given I am logged into the CX wiki And am in the translation interface with an article already open And the Instructions card is visible When I perform an action to display a Link, MT or Definition card Then the Instructions card should be minimized somewhere in the third column

Given I am an advanced user and logged into the CX wiki And am in the translation interface with an article already open And the Instructions card is visible When I click on an option (not defined) on the Instructions card Then the Instructions card should be removed until I enable its display again

Link Cards
Scenario: Visibility of the Link Cards

Given I am logged into the CX wiki And am in the translation interface with an article already open When I click on a link in the source column Then any existing cards on the side bar is hidden And one or more link cards should be displayed

Given I am logged into the CX wiki And am in the translation interface with an article already open And I have translated some text with links in both source and target language When I click on a link in the source column Then the corresponding link in the target column is highlighted And two link cards should be displayed for the source and target language

Given I am logged into the CX wiki And am in the translation interface with an article already open And I have translated some text with links in only the source language When I click on a link in the source column Then the corresponding link in the target column is highlighted And one link cards should be displayed for the source language

Publishing
Given I am logged into the CX wiki When I enter the translation interface And do not make any edits Then the Publish button should be not be in active state

Given I am logged into the CX wiki When I enter the translation interface And make an edit Then the Publish button should be activated

Given I am in the translation interface And I have made some edits And the Publish button is active When I press the Publish button Then the page should be published And the link to the page under the user’s namespace displayed

Given I am in the translation interface (not implemented; currently the user is taken to the page in the same tab and out of the translation interface) And I Published a page with the Publish button When I click on the link to the published page Then the page is displayed in a new tab