-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…eature move file changeLanguage.feature from account folder to dashboard folder
- Loading branch information
Showing
5 changed files
with
151 additions
and
149 deletions.
There are no files selected for viewing
File renamed without changes.
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
14 changes: 7 additions & 7 deletions
14
...ition/account/changeLanguageSteps.spec.js → ...ion/dashboard/changeLanguageSteps.spec.js
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,24 +1,24 @@ | ||
const { When, Then } = require("@badeball/cypress-cucumber-preprocessor") | ||
import Account from '../../pages/account/pageAccount' | ||
import Dashboard from '../../pages/dashboard/pageDashboard' | ||
|
||
const account = new Account() | ||
const dashboard = new Dashboard() | ||
|
||
Then('I can see initials of my name', () => { | ||
account.assertNameInitialsIsVisible() | ||
dashboard.assertNameInitialsIsVisible() | ||
}) | ||
|
||
When('I click on initials of my name', () => { | ||
account.clickInitialsOfName() | ||
dashboard.clickInitialsOfName() | ||
}) | ||
|
||
Then('I click on language drop down menu', () => { | ||
account.clickLanguagesDropDownMenu() | ||
dashboard.clickLanguagesDropDownMenu() | ||
}) | ||
|
||
When('I can change language to {string}', language => { | ||
account.changeLanguage(language) | ||
dashboard.changeLanguage(language) | ||
}) | ||
|
||
Then('I can see title in dashboard is changed to {string}', language => { | ||
account.verifyLanguageChanged(language) | ||
dashboard.verifyLanguageChanged(language) | ||
}) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.