Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/e2e-db-upgrade
This commit is contained in:
commit
f3447f713d
|
@ -32,6 +32,7 @@ jobs:
|
||||||
SMOKE_TEST_URL: ${{ secrets.SMOKE_TEST_URL }}
|
SMOKE_TEST_URL: ${{ secrets.SMOKE_TEST_URL }}
|
||||||
SMOKE_TEST_ADMIN_USER: ${{ secrets.SMOKE_TEST_ADMIN_USER }}
|
SMOKE_TEST_ADMIN_USER: ${{ secrets.SMOKE_TEST_ADMIN_USER }}
|
||||||
SMOKE_TEST_ADMIN_PASSWORD: ${{ secrets.SMOKE_TEST_ADMIN_PASSWORD }}
|
SMOKE_TEST_ADMIN_PASSWORD: ${{ secrets.SMOKE_TEST_ADMIN_PASSWORD }}
|
||||||
|
SMOKE_TEST_ADMIN_USER_EMAIL: ${{ secrets.SMOKE_TEST_ADMIN_USER_EMAIL }}
|
||||||
SMOKE_TEST_CUSTOMER_USER: ${{ secrets.SMOKE_TEST_CUSTOMER_USER }}
|
SMOKE_TEST_CUSTOMER_USER: ${{ secrets.SMOKE_TEST_CUSTOMER_USER }}
|
||||||
SMOKE_TEST_CUSTOMER_PASSWORD: ${{ secrets.SMOKE_TEST_CUSTOMER_PASSWORD }}
|
SMOKE_TEST_CUSTOMER_PASSWORD: ${{ secrets.SMOKE_TEST_CUSTOMER_PASSWORD }}
|
||||||
WC_E2E_SCREENSHOTS: 1
|
WC_E2E_SCREENSHOTS: 1
|
||||||
|
|
|
@ -31,6 +31,8 @@ defined( 'ABSPATH' ) || exit;
|
||||||
'description' => __( 'This text will be shown on the button linking to the external product.', 'woocommerce' ),
|
'description' => __( 'This text will be shown on the button linking to the external product.', 'woocommerce' ),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
do_action( 'woocommerce_product_options_external' );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable jest/no-export, jest/no-disabled-tests, jest/no-standalone-expect */
|
|
||||||
/**
|
/**
|
||||||
* Internal dependencies
|
* Internal dependencies
|
||||||
*/
|
*/
|
||||||
|
@ -12,7 +11,7 @@ const {
|
||||||
|
|
||||||
const config = require( 'config' );
|
const config = require( 'config' );
|
||||||
const customerEmail = config.get( 'addresses.customer.billing.email' );
|
const customerEmail = config.get( 'addresses.customer.billing.email' );
|
||||||
const adminEmail = 'admin@woocommercecoree2etestsuite.com';
|
const adminEmail = config.has( 'users.admin.email' ) ? config.get( 'users.admin.email' ) : 'admin@woocommercecoree2etestsuite.com';
|
||||||
const storeName = 'WooCommerce Core E2E Test Suite';
|
const storeName = 'WooCommerce Core E2E Test Suite';
|
||||||
|
|
||||||
let orderId;
|
let orderId;
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
"users": {
|
"users": {
|
||||||
"admin": {
|
"admin": {
|
||||||
"username": "SMOKE_TEST_ADMIN_USER",
|
"username": "SMOKE_TEST_ADMIN_USER",
|
||||||
"password": "SMOKE_TEST_ADMIN_PASSWORD"
|
"password": "SMOKE_TEST_ADMIN_PASSWORD",
|
||||||
|
"email": "SMOKE_TEST_ADMIN_USER_EMAIL"
|
||||||
},
|
},
|
||||||
"customer": {
|
"customer": {
|
||||||
"username": "SMOKE_TEST_CUSTOMER_USER",
|
"username": "SMOKE_TEST_CUSTOMER_USER",
|
||||||
|
|
Loading…
Reference in New Issue