mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
20 lines
454 B
JavaScript
20 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",
|
|
},
|
|
},
|
|
};
|