1.0.0 • Published 5 years ago
desd v1.0.0
WebdriverIO passed through wrapper
Getting started
yarn add desd -Dinstall desd
Cucumber
- Create a directory for your tests e.g.
featuresfor cucumber tests - Create a new
.featurefile - Write your feature test
Scenario: I should be able to navigate to a URL
Given I go to "https://goodrx.com"
Then Page url should contain "https://www.goodrx.com/"yarn desd configGenerate wdio config file (you can skip this step if you have a config file)- To get autocomplete for feature steps in VSCode, install
Cucumber (Gherkin) Full Supportand add the below snippet to your.vscode/settings.jsonfile.
"cucumberautocomplete.steps": [
"./node_modules/desd/dist/features/step-definitions/**/*steps.js"
],
"cucumberautocomplete.strictGherkinCompletion": trueTo dos:
- cli to run Webdriver.io test
- Remote selenium grid support (Browserstack) - this is mostly handled by webdriver.io
- Visual validations (Applitools)
- Reporting (Report portal) - phase 2