Update test description

This commit is contained in:
Veljko 2021-02-10 09:13:35 +01:00
parent 98fc4d5f80
commit 9fe10b23ba
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ const config = require( 'config' );
const simpleProductName = config.get( 'products.simple.name' ); const simpleProductName = config.get( 'products.simple.name' );
const runMyAccountPayOrderTest = () => { const runMyAccountPayOrderTest = () => {
describe('Customer can pay for his order through my account', () => { describe('Customer can pay for their order through My Account', () => {
beforeAll(async () => { beforeAll(async () => {
await merchant.login(); await merchant.login();
simplePostIdValue = await createSimpleProduct(); simplePostIdValue = await createSimpleProduct();
@ -36,7 +36,7 @@ const runMyAccountPayOrderTest = () => {
await merchant.logout(); await merchant.logout();
}); });
it('allows customer to pay for his order in my account', async () => { it('allows customer to pay for their order in My Account', async () => {
await shopper.login(); await shopper.login();
await shopper.goToOrders(); await shopper.goToOrders();
await expect(page).toClick('a.woocommerce-button.button.pay'); await expect(page).toClick('a.woocommerce-button.button.pay');