From 38a135d9660344ff844413c07a369a9f8f50fb5f Mon Sep 17 00:00:00 2001 From: mahula Date: Sat, 3 Jun 2023 06:00:53 +0200 Subject: [PATCH] fix social media test step --- .../I_delete_the_social_media_link_{string}.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js b/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js index cc80a3a96..3acba4756 100644 --- a/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js +++ b/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js @@ -8,5 +8,5 @@ When('I delete the social media link {string}', (link) => { cy.get('[data-test="confirm-button"]') .click() cy.get('.ds-list-item-content > a') - .contains(link).should('not.exist') + .should('not.exist') })