UNPKG

cucumber-protractor

Version:

POM CukeTractor - Bootstrap your cucumber tests with cucumber, protractor and a structured way of creating page objects and component objects

12 lines (8 loc) 291 B
const createComponent = require('../../uiTestHelpers/createComponent'); const fileName = createComponent.getFileName(__filename); module.exports = (world) => { const locators = { 'footer item 2': by.css('.footer-item2'), }; return createComponent(fileName, world, locators); };