Cypress with cucumber - e2e tests
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cypress
.gitignore
README.md
cypress.json
package.json

README.md

CYPRESS-CUCUMBER-DOJO

Repository with examples of automation using cypress + cucumber

Cypress is the new standard in front-end testing that every developer and QA engineer needs.


Installation

Clone

  • Clone this repo to your local machine using https://github.com/uLucasFraga/cy-dojo.git

  • Install all dependencies (package.json) npm install

Run tests

run test headless (electron)

$ npm run cypress:run

run test interactive mode.

$ npm run cypress:open

run test tags for cucumber.

$ npm run cypress:tags

Features

  • file example .feature
#language: en

@e2e
Feature: access concrete website

Scenario: Opening concrete page
    Given I open page
    Then I see "Concrete" in the title

Scenario: Search in concrete page
    Given I open page
    When I search for "Lucas Fraga"
    Then I see the survey completed "Como anexar ao report o screenshot com o Protractor"

Report

run test report

$ npm run cypress:report

Support


License

License