mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-26 01:14:19 +08:00
25 lines
557 B
TypeScript
25 lines
557 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { PayForOrder as PayForOrderBase } from '@inpsyde/playwright-utils/build';
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import { PayPalUiClassic } from './paypal-ui-classic';
|
|
|
|
export class PayForOrder extends PayForOrderBase {
|
|
// UI is the same as when classic pages are enabled
|
|
// Only difference is in page URL: contains /checkout/ instead of /classic-checkout/
|
|
payPalUi: PayPalUiClassic;
|
|
|
|
constructor( { page, payPalUi } ) {
|
|
super( { page } );
|
|
this.payPalUi = payPalUi;
|
|
}
|
|
|
|
// Locators
|
|
|
|
// Actions
|
|
|
|
// Assertions
|
|
}
|