diff --git a/integration_test/page-objects/common.page.js b/integration_test/page-objects/common.page.js index 9a3a77573..e5374f6d6 100644 --- a/integration_test/page-objects/common.page.js +++ b/integration_test/page-objects/common.page.js @@ -13,6 +13,7 @@ module.exports = { `//input[contains(@placeholder, "${placeholder}")]`, textAreaWithPlaceholder: placeholder => `//textarea[contains(@placeholder, "${placeholder}")]`, + byId: id => `//*[@id="${id}"]`, divWithClass: classname => `//div[contains(@class, "${classname}")]`, divWithClassAndText: (classname, text) => module.exports.objWithClassAndText('div', classname, text),