Place back `scrollIntoView` to OBW e2e test.

This commit is contained in:
Julia Amosova 2020-09-18 19:15:53 -04:00
parent ff8e5bbc8b
commit c78051c7a5
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ describe( 'Store owner can go through store Setup Wizard', () => {
describe( 'Store owner can go through setup Task List', () => {
it( 'can setup shipping', async () => {
await page.evaluate( () => {
document.querySelector( '.woocommerce-list__item-title' ).scrollIntoView();
} );
// Query for all tasks on the list
const taskListItems = await page.$$( '.woocommerce-list__item-title' );
expect( taskListItems ).toHaveLength( 6 );