1.0.0 • Published 4 years ago

desd v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

WebdriverIO passed through wrapper

Getting started

  • yarn add desd -D install desd

Cucumber

  • Create a directory for your tests e.g. features for cucumber tests
  • Create a new .feature file
  • 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 config Generate 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 Support and add the below snippet to your .vscode/settings.json file.
    "cucumberautocomplete.steps": [
        "./node_modules/desd/dist/features/step-definitions/**/*steps.js"
    ],
    "cucumberautocomplete.strictGherkinCompletion": true

To 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