mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
correct dependencies in step definition files
This commit is contained in:
parent
d8e72f42bc
commit
74a054e2b4
@ -1,4 +1,4 @@
|
||||
import { When } from "cypress-cucumber-preprocessor/steps";
|
||||
import { When } from "@badeball/cypress-cucumber-preprocessor";
|
||||
|
||||
When('I delete the social media link {string}', (link) => {
|
||||
cy.get('[data-test="delete-button"]')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Given } from "cypress-cucumber-preprocessor/steps";
|
||||
import { Given } from "@badeball/cypress-cucumber-preprocessor";
|
||||
|
||||
Given('I have added the social media link {string}', (link) => {
|
||||
cy.visit('/settings/my-social-media')
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Then } from "cypress-cucumber-preprocessor/steps";
|
||||
import { Then } from "@badeball/cypress-cucumber-preprocessor";
|
||||
|
||||
Then("I see a toaster with status {string}", (status) => {
|
||||
switch (status) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user