Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/cypress/e2e/insert-character-in-post.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ describe( 'Insert character in post', () => {

it( 'Admin can add character in post and save it', () => {
cy.createPost( {
title: 'Page with special characters',
postType: 'page',
title: 'Post with special characters',
postType: 'post',
} );

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

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

cy.get( 'body' ).invoke( 'text' ).then( text => {
if ( text.includes( 'Hello world∀' ) ) {
Expand Down
Loading