Place back `scrollIntoView` to OBW e2e test.
This commit is contained in:
parent
ff8e5bbc8b
commit
c78051c7a5
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue