From ca6796bbb3033df1d31c80e2e346faf1bfb9119a Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Fri, 15 Dec 2023 12:36:31 +0530 Subject: [PATCH] Update wording in classic tests. --- tests/cypress/e2e/classic-editor.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cypress/e2e/classic-editor.test.js b/tests/cypress/e2e/classic-editor.test.js index 622415a6..b0e8496e 100644 --- a/tests/cypress/e2e/classic-editor.test.js +++ b/tests/cypress/e2e/classic-editor.test.js @@ -41,7 +41,7 @@ describe('Test Autopost for X with Classic Editor.', () => { // Post-publish. cy.get('#autoshare_for_twitter_metabox').should('be.visible'); - cy.get('#autoshare_for_twitter_metabox').contains('This post was not posted to X/Twitter'); + cy.get('#autoshare_for_twitter_metabox').contains('This post has not been posted to X/Twitter'); }); @@ -74,7 +74,7 @@ describe('Test Autopost for X with Classic Editor.', () => { // Post-publish. cy.get('#autoshare_for_twitter_metabox').should('be.visible'); - cy.get('#autoshare_for_twitter_metabox').contains('This post was not posted to X/Twitter'); + cy.get('#autoshare_for_twitter_metabox').contains('This post has not been posted to X/Twitter'); }); @@ -109,7 +109,7 @@ describe('Test Autopost for X with Classic Editor.', () => { // Post-publish. cy.get('#autoshare_for_twitter_metabox').should('be.visible'); - cy.get('#autoshare_for_twitter_metabox').contains('This post was not posted to X/Twitter'); + cy.get('#autoshare_for_twitter_metabox').contains('This post has not been posted to X/Twitter'); }); it('Tests that new post is tweeted when tweet accounts are checked', () => { @@ -146,7 +146,7 @@ describe('Test Autopost for X with Classic Editor.', () => { // Post-publish. cy.get('#autoshare_for_twitter_metabox').should('be.visible'); - cy.get('#autoshare_for_twitter_metabox').contains('This post was not posted to X/Twitter'); + cy.get('#autoshare_for_twitter_metabox').contains('This post has not been posted to X/Twitter'); cy.get('#autoshare_for_twitter_metabox button.tweet-now-button').contains('Post to X/Twitter now').click(); cy.get('#autoshare-for-twitter-override-body textarea').should('be.visible')