Boilerplate project to run WebdriverIO tests with Cucumber
MIT License
Bot releases are visible (Hide)
checkIfElementExists
to readme & then step definitions (thanks canvaspixels)Published by wvankuipers about 7 years ago
import/no-extraneous-dependencies
babel-jest
not loaded automatically with JPublished by wvankuipers about 7 years ago
http-server
process.babelrc
Published by wvankuipers over 7 years ago
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)Published by wvankuipers over 7 years ago
Published by wvankuipers almost 8 years ago
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 thecomma-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