Skip to content

Commit

Permalink
Update e2e test to ensure cell is clicked instead of the rich text
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Jul 31, 2019
1 parent 353bb87 commit c451522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/blocks/table.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ describe( 'Table', () => {

// Get the bounding client rect for the second cell.
const { x: secondCellX, y: secondCellY } = await page.evaluate( () => {
const secondCell = document.querySelectorAll( '.wp-block-table__cell-content' )[ 1 ];
const secondCell = document.querySelectorAll( '.wp-block-table td' )[ 1 ];
// Page.evaluate can only return a non-serializable value to the
// parent process, so destructure and restructure the result
// into an object.
Expand Down

0 comments on commit c451522

Please sign in to comment.