Boilerplate project to run WebdriverIO tests with Cucumber
checkIfElementExists
to readme & then step definitions (thanks canvaspixels)import/no-extraneous-dependencies
babel-jest
not loaded automatically with Jhttp-server
process.babelrc
I expect that element "([^"]*)?" is( not)* empty$
checkCointainsText
now correctly checks if the given element actualy contains the given text (thanks inspiraller)clean
script (thanks l-hendriks)yarn run clean
in Bash (thanks mondwan)^I expect that element "([^"]*)?" is( not)* empty$
then rule (thanks stevezxu)the (element|inputfield) "([^"]*)?"( not)* contains any text
I expect that (element|inputfield) "([^"]*)?"( not)* matches the text "([^"]*)?"
checkIfElementExists
so it can be used by multiple tests to check if an element existstest/
to src/
to make clear it's the
source of the project and separate if from the actual test code.comma-dangle
babel-reset-2015
babel-register
wdio-phantomjs-service
webdriverio
wdio-cucumber-framework
wdio-spec-reporter
eslint
eslint-config-airbnb-base
eslint
& eslint-config-airbnb-base
dev. dependenciesthe (element|inputfield) "([^"]*)?"( not)* contains the text "([^"]*)?"
the (element|inputfield) "([^"]*)?"( not)* contains any text
I expect that element "([^"]*)?"( not)* contains the same text as element "([^"]*)?"
I expect that (element|inputfield) "([^"]*)?"( not)* contains any text
CheckClass
now correctly identifies the false caseCheckContent
no longer fails when no expected text is definedexpect()
was not used in all testsexpect.should
was incorrectly used (is now expect.to
)clickElement
Now checks if element exists to prevent silent failsetInputField
Now checks if element exists to prevent silent failcheckUrlInPath
Now checks for the current domain instead of the baseurl domaincheckContent
as it is now replaced with checkContainsText
and checkContainsAnyText