Skip to content

Instantly share code, notes, and snippets.

const {
setDefaultTimeout,
AfterAll,
BeforeAll,
Before,
After,
} = require('@cucumber/cucumber')
const {
startWebDriver,
stopWebDriver,
Feature: user login
As a user
I want to log into my account
So that I can have access to my plan
Scenario: try to login with invalid credentials
Given the user has browsed to the login page
When the user tries to login with email "joe@yahoo.com" and password "Password@123" using the webUI