mirror of
https://github.com/plankanban/planka.git
synced 2025-07-27 17:19:43 +02:00
21 lines
454 B
JavaScript
21 lines
454 B
JavaScript
|
module.exports = {
|
||
|
url: function () {
|
||
|
return this.api.launchUrl + "/dashboard";
|
||
|
},
|
||
|
commands: {
|
||
|
isDashboardPage: async function () {
|
||
|
let result = false;
|
||
|
await this.waitForElementVisible("@dashboardHeader");
|
||
|
await this.isVisible("@dashboardHeader", (res) => {
|
||
|
result = res.value;
|
||
|
});
|
||
|
return result;
|
||
|
},
|
||
|
},
|
||
|
elements: {
|
||
|
dashboardHeader: {
|
||
|
selector: "a.Header_title__3SEjb",
|
||
|
},
|
||
|
},
|
||
|
};
|