desd
v1.0.0
Published
UI Automation and much more
Downloads
8
Readme
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:
- [x] cli to run Webdriver.io test
- [x] Remote selenium grid support (Browserstack) - this is mostly handled by webdriver.io
- [x] Visual validations (Applitools)
- [ ] Reporting (Report portal) - phase 2
