Skip to content

Commit b103110

Browse files
committed
Use post for testing to avoid pattern overlay on pages.
1 parent 4d6890d commit b103110

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/cypress/e2e/insert-character-in-post.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ describe( 'Insert character in post', () => {
1010

1111
it( 'Admin can add character in post and save it', () => {
1212
cy.createPost( {
13-
title: 'Page with special characters',
14-
postType: 'page',
13+
title: 'Post with special characters',
14+
postType: 'post',
1515
} );
1616

1717
cy.window().then( ( win ) => {
@@ -72,7 +72,7 @@ describe( 'Insert character in post', () => {
7272
} );
7373

7474
it( 'Verify the character on the front end', () => {
75-
cy.visit( `${ Cypress.config().baseUrl }/page-with-special-characters` );
75+
cy.visit( `${ Cypress.config().baseUrl }/post-with-special-characters` );
7676

7777
cy.get( 'body' ).invoke( 'text' ).then( text => {
7878
if ( text.includes( 'Hello world∀' ) ) {

0 commit comments

Comments
 (0)