Skip to content

Commit

Permalink
Modify writing-flow test to pass.
Browse files Browse the repository at this point in the history
Shortens the text inside the column block so that it doesn't wrap into 2 lines.
  • Loading branch information
kjellr committed Jul 9, 2019
1 parent 2ff9a80 commit 82dfc34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/e2e-tests/specs/writing-flow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe( 'adding blocks', () => {
await page.keyboard.type( 'Paragraph' );
await pressKeyTimes( 'Tab', 3 ); // Tab to paragraph result.
await page.keyboard.press( 'Enter' ); // Insert paragraph.
await page.keyboard.type( 'Second col' );
await page.keyboard.type( '2nd col' );

// Arrow down from last of layouts exits nested context to default
// appender of root level.
Expand All @@ -63,7 +63,7 @@ describe( 'adding blocks', () => {
await page.waitForSelector( '.is-selected[data-type="core/column"]:focus' );
await page.keyboard.press( 'ArrowUp' );
activeElementText = await page.evaluate( () => document.activeElement.textContent );
expect( activeElementText ).toBe( 'First col' );
expect( activeElementText ).toBe( '1st col' );

// Arrow up from first text field in nested context focuses column and
// columns wrappers before escaping out.
Expand Down

0 comments on commit 82dfc34

Please sign in to comment.