Add scope to BACS slotfill (https://github.com/woocommerce/woocommerce-admin/pull/7405)
* Update e2e matcher for tasklist header * Add scope to BACS slotfill Co-authored-by: Lourens Schep <lourensschep@gmail.com>
This commit is contained in:
parent
66ab35bbc7
commit
8a040b99d9
|
@ -175,4 +175,5 @@ const BacsPaymentGatewaySetup = () => {
|
|||
|
||||
registerPlugin( 'wc-admin-payment-gateway-setup-bacs', {
|
||||
render: BacsPaymentGatewaySetup,
|
||||
scope: 'woocommerce-admin',
|
||||
} );
|
||||
|
|
|
@ -30,7 +30,7 @@ export class WcHomescreen extends BasePage {
|
|||
await page.waitForSelector(
|
||||
'.woocommerce-task-card .woocommerce-task-list__item-title'
|
||||
);
|
||||
await waitForElementByText( 'p', 'Get ready to start selling' );
|
||||
await waitForElementByText( 'span', 'Get ready to start selling' );
|
||||
const list = await this.page.$$eval(
|
||||
'.woocommerce-task-card .woocommerce-task-list__item-title',
|
||||
( items ) => items.map( ( item ) => item.textContent )
|
||||
|
|
Loading…
Reference in New Issue