testcafe-cucumber-steps
Version:
Cucumber steps (step definitions) written with TestCafe for end-to-end (e2e) tests
13 lines (11 loc) • 523 B
JavaScript
;
module.exports = {
SELECTOR_NOT_DEFINED: 'Something is wrong with selector, maybe it is not ' +
'defined in Page Object:',
ELEMENT_NOT_PRESENT: 'expected element to be present:',
ELEMENT_PRESENT: 'expected element not to be present:',
ATTRIBUTE_NOT_INCLUDES: 'expected element\'s attribute to include value:',
NO_TITLE: 'Can not get title of the current page',
NO_URL: 'Can not get URL of the current page',
NO_ELEMENT: 'Can not get the element from the current page:'
};