Remove `scrollIntoView` from OBW e2e test as it is not needed.

This commit is contained in:
Julia Amosova 2020-09-18 18:33:21 -04:00
parent 6a93c8dd68
commit ff8e5bbc8b
1 changed files with 0 additions and 3 deletions

View File

@ -52,9 +52,6 @@ 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 );