You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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",
|
|
},
|
|
},
|
|
};
|