Skip to content

Commit

Permalink
Restore slashed data test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsilverstein committed Sep 29, 2023
1 parent 90d7472 commit 6a4f28b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/e2e/specs/editor/various/footnotes.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,22 +414,15 @@ test.describe( 'Footnotes', () => {
await editor.canvas.click( 'ol.wp-block-footnotes li span' );
await page.keyboard.press( 'End' );
// Test slashing.
// await page.keyboard.type( '3"' );
await page.keyboard.type( '3' );
await page.keyboard.type( '3"' );

const previewPage2 = await editor.openPreviewPage();

// Note: quote will get curled by wptexturize.
/*
await expect(
previewPage2.locator( 'ol.wp-block-footnotes li' )
).toHaveText( '123″ ↩︎' );
*/
await expect(
previewPage2.locator( 'ol.wp-block-footnotes li' )
).toHaveText( '123 ↩︎' );

// This section only passes when previewing doesn't overwrite published meta.
// Verify that the published post is unchanged after previewing changes to meta.
await previewPage2.close();
await editorPage.bringToFront();
Expand Down

0 comments on commit 6a4f28b

Please sign in to comment.