mirror of
https://github.com/plankanban/planka.git
synced 2025-08-04 13:05:24 +02:00
add the config.js file
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
This commit is contained in:
parent
db81ebcc7f
commit
9670bd01f8
4 changed files with 27 additions and 10 deletions
|
@ -1,9 +1,12 @@
|
|||
const config = require(`../config`);
|
||||
|
||||
class LoginPage {
|
||||
constructor() {
|
||||
// url
|
||||
this.homeUrl = 'http://localhost:1337';
|
||||
this.loginUrl = `${this.homeUrl}/login`;
|
||||
this.homeUrl = config.baseUrl;
|
||||
this.loginUrl = `${this.homeUrl}login`;
|
||||
|
||||
// selectors
|
||||
this.loginButtonSelector = `//i[@class="right arrow icon"]`;
|
||||
this.usernameSelector = `//input[@name='emailOrUsername']`;
|
||||
this.passwordSelector = `//input[@name='password']`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue