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

Commit

Permalink
Update Filter by Attribute 'can hide product count' test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Jul 6, 2023
1 parent f490072 commit 0a7cb26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/specs/backend/attribute-filter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ describe( `${ block.name } Block`, () => {
} );

it( 'can hide product count', async () => {
await expect( page ).toMatchElement(
await expect( page ).not.toMatchElement(
'.wc-filter-element-label-list-count'
);
await expect( page ).toClick( 'label', {
text: 'Display product count',
} );
await expect( page ).not.toMatchElement(
await expect( page ).toMatchElement(
'.wc-filter-element-label-list-count'
);
// reset
Expand Down

0 comments on commit 0a7cb26

Please sign in to comment.