-
Notifications
You must be signed in to change notification settings - Fork 11
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 #29 from Progi1984/migrateBoLogin
Enable boLoginPage in the Core
- Loading branch information
Showing
5 changed files
with
47 additions
and
12 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
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,26 @@ | ||
// Import pages | ||
import type {LoginPageInterface} from '@interfaces/BO/login'; | ||
import {LoginPage} from '@versions/develop/pages/BO/login'; | ||
|
||
/** | ||
* Order confirmation page, contains functions that can be used on the page | ||
* @class | ||
* @extends OrderConfirmationPage | ||
*/ | ||
class LoginVersion extends LoginPage implements LoginPageInterface { | ||
/** | ||
* @constructs | ||
* Setting up texts and selectors to use on order confirmation page | ||
*/ | ||
constructor() { | ||
super(); | ||
|
||
this.alertDangerDiv = '#error'; | ||
this.resetPasswordEmailFormField = '#email_forgot'; | ||
this.resetPasswordButton = '#reset-password-button'; | ||
this.resetPasswordSuccessConfirmationText = '#forgot_confirm_name'; | ||
} | ||
} | ||
|
||
const loginPage = new LoginVersion(); | ||
export {loginPage, LoginVersion as LoginPage}; |
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