woocommerce-paypal-payments/tests/qa-legacy-ui/utils/urls.ts
Misha Utkin 9f1445265d
Migrate tests for legacy UI
- Tests migration
- Tests correction
- Folder structure and file naming fixes
2025-04-30 06:48:12 +02:00

26 lines
952 B
TypeScript

/**
* External dependencies
*/
import { urls } from '@inpsyde/playwright-utils/build';
export default {
...urls.frontend,
admin: {
...urls.admin,
},
pcp: {
connection:
'./wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcp-tab=ppcp-connection',
standardPayments:
'./wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway',
payLater:
'./wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcp-tab=ppcp-pay-later',
advancedCardProcessing:
'./wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcp-tab=ppcp-credit-card-gateway',
standardCardButton:
'./wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-card-button-gateway',
oxxo: './wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-oxxo-gateway',
payUponInvoice:
'./wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-pay-upon-invoice-gateway',
},
};