mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
11 lines
340 B
JavaScript
11 lines
340 B
JavaScript
import { When } from "cypress-cucumber-preprocessor/steps";
|
|
import loginCredentials from '../data/loginCredentials'
|
|
|
|
When("I fill in my credentials", () => {
|
|
cy.get("input[name=email]")
|
|
.trigger("focus")
|
|
.type(loginCredentials.email)
|
|
.get("input[name=password]")
|
|
.trigger("focus")
|
|
.type(loginCredentials.password);
|
|
}); |