From 3b09892692da58ecc9488a220151ef9a2efee86d Mon Sep 17 00:00:00 2001 From: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> Date: Tue, 9 May 2023 11:51:44 +1000 Subject: [PATCH] Break a test. --- tests/cypress/e2e/insert-character-in-post.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cypress/e2e/insert-character-in-post.test.js b/tests/cypress/e2e/insert-character-in-post.test.js index 6a5a327..2eef7ff 100644 --- a/tests/cypress/e2e/insert-character-in-post.test.js +++ b/tests/cypress/e2e/insert-character-in-post.test.js @@ -70,9 +70,9 @@ describe( 'Insert character in post', () => { cy.get( 'body' ).invoke( 'text' ).then( text => { if ( text.includes( 'Hello world∀' ) ) { - expect( text ).to.contain( 'Hello world∀' ); + expect( text ).not.to.contain( 'Hello world∀' ); } else if ( text.includes( '∀Hello world' ) ) { - expect( text ).to.contain( '∀Hello world' ); + expect( text ).not.to.contain( '∀Hello world' ); } } ); } );