mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- Refactor Cypress tests to make them more language independent. Co-Authored-By: mahula <lenzmath@posteo.de>
10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
import { When } from "cypress-cucumber-preprocessor/steps";
|
|
|
|
When('I add a social media link', () => {
|
|
cy.get('[data-test="add-save-button"]')
|
|
.click()
|
|
.get('#editSocialMedia')
|
|
.type('https://freeradical.zone/peter-pan')
|
|
.get('[data-test="add-save-button"]')
|
|
.click()
|
|
}) |