web: ensure the applications wizard tests finish after current changes
This commit is contained in:
parent
3c55f076d5
commit
ca0e91363e
21
tests/wdio/test/pageobjects/applications-list.page.ts
Normal file
21
tests/wdio/test/pageobjects/applications-list.page.ts
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
import AdminPage from "./admin.page.js";
|
||||||
|
import { $ } from "@wdio/globals";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* sub page containing specific selectors and methods for a specific page
|
||||||
|
*/
|
||||||
|
class ApplicationsListPage extends AdminPage {
|
||||||
|
/**
|
||||||
|
* define selectors using getter methods
|
||||||
|
*/
|
||||||
|
|
||||||
|
get startWizardButton() {
|
||||||
|
return $('>>>ak-wizard-frame button[slot="trigger"]');
|
||||||
|
}
|
||||||
|
|
||||||
|
async open() {
|
||||||
|
return await super.open("if/admin/#/core/applications");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default new ApplicationsListPage();
|
Reference in a new issue