Wolfgang Huß bda0b3f088 Fix Cypress tests for the users social media
- Refactor Cypress tests to make them more language independent.

Co-Authored-By: mahula <lenzmath@posteo.de>
2022-11-23 14:22:45 +01:00

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()
})