Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Mar 31, 2023
1 parent 6e78a9b commit 8384cab
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions tests/e2e/config/jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from '@wordpress/e2e-test-utils';
import { setDefaultOptions } from 'expect-puppeteer';
import { get } from 'lodash';

/**
* Internal dependencies
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/backend/products-by-attribute.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const block = {
class: '.wc-block-products-by-attribute',
};

describe( `${ block.name } Block`, () => {
describe( `${ block.name } Block `, () => {
beforeAll( async () => {
await switchUserToAdmin();
await visitBlockPage( `${ block.name } Block` );
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/shopper/active-filters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ describe( 'Shopper → Active Filters Block', () => {
expect( isRefreshed ).not.toHaveBeenCalled();
} );

it( 'Clicking "Clear All" button removes all active filter', async () => {
it( 'Clicking "Clear All" button removes all active filters', async () => {
const isRefreshed = jest.fn( () => void 0 );
await page.waitForSelector( block.class );
await page.waitForSelector(
Expand Down Expand Up @@ -317,7 +317,7 @@ describe( 'Shopper → Active Filters Block', () => {
await expect( page ).toMatch( SIMPLE_PHYSICAL_PRODUCT_NAME );
} );

it( 'Clicking "Clear All" button removes all active filter and the page redirects to the base URL', async () => {
it( 'Clicking "Clear All" button removes all active filters and the page redirects to the base URL', async () => {
const isRefreshed = jest.fn( () => void 0 );
page.on( 'load', isRefreshed );
await page.waitForSelector( selectors.frontend.stockFilterBlock );
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/specs/shopper/cart-checkout/checkout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
getToggleIdByLabel,
} from '@woocommerce/blocks-test-utils';
import { visitAdminPage } from '@wordpress/e2e-test-utils';

/**
* Internal dependencies
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const isBlockInsertedInWidgetsArea = async ( blockName ) => {
};

/**
* Visits site editor dependening on used WordPress version and how Gutenberg is installed.
* Visits site editor depending on used WordPress version and how Gutenberg is installed.
*
* @param {Object} params Query parameters to add to the URL.
* @param {string} [params.postId] ID of the template if we want to access template editor.
Expand Down

0 comments on commit 8384cab

Please sign in to comment.