mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-26 01:14:19 +08:00
19 lines
560 B
TypeScript
19 lines
560 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { WooCommerceSubscriptionEdit as WooCommerceSubscriptionEditBase } from '@inpsyde/playwright-utils/build';
|
|
|
|
export class WooCommerceSubscriptionEdit extends WooCommerceSubscriptionEditBase {
|
|
// Locators
|
|
transactionIdKey = () =>
|
|
this.page.locator(
|
|
'input[value="ppcp_previous_transaction_reference"]'
|
|
);
|
|
transactionIdRow = () =>
|
|
this.page.locator( '#the-list tr', { has: this.transactionIdKey() } );
|
|
transactionIdTextarea = () => this.transactionIdRow().getByLabel( 'Value' );
|
|
|
|
// Actions
|
|
|
|
// Assertions
|
|
}
|