2022-02-25 09:44:16 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
const config = require( 'config' );
|
|
|
|
|
|
|
|
/**
|
2022-03-09 10:16:24 +00:00
|
|
|
* Constants used for E2E tests.
|
2022-02-25 09:44:16 +00:00
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
2022-04-04 12:30:07 +00:00
|
|
|
export const SIMPLE_VIRTUAL_PRODUCT_NAME = 'Woo Single #1';
|
|
|
|
export const SIMPLE_PHYSICAL_PRODUCT_NAME = '128GB USB Stick';
|
2022-04-11 10:52:33 +00:00
|
|
|
export const PAYMENT_COD = 'Cash on delivery';
|
|
|
|
export const PAYMENT_BACS = 'Direct bank transfer';
|
|
|
|
export const PAYMENT_CHEQUE = 'Check payments';
|
2022-03-08 13:52:40 +00:00
|
|
|
export const BILLING_DETAILS = config.get( 'addresses.customer.billing' );
|
2022-04-04 12:30:07 +00:00
|
|
|
export const PERFORMANCE_REPORT_FILENAME = 'reports/e2e-performance.json';
|
2022-03-31 11:10:50 +00:00
|
|
|
export const SHIPPING_DETAILS = config.get( 'addresses.customer.shipping' );
|
2022-04-25 08:48:54 +00:00
|
|
|
export const BASE_URL = config.get( 'url' );
|
2022-11-16 01:52:51 +00:00
|
|
|
export const DEFAULT_TIMEOUT = 30000;
|