Skip to content

Commit d6251b0

Browse files
committed
Disable translations test
1 parent 320ff28 commit d6251b0

File tree

1 file changed

+0
-51
lines changed

1 file changed

+0
-51
lines changed

plugins/woocommerce/client/blocks/tests/e2e/tests/mini-cart/mini-cart-block.shopper.block_theme.spec.ts

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -77,57 +77,6 @@ test.describe( 'Shopper → Notices', () => {
7777
} );
7878
} );
7979

80-
test.describe( 'Shopper → Translations', () => {
81-
test.beforeEach( async () => {
82-
await wpCLI( `site switch-language ${ translations.locale }` );
83-
} );
84-
85-
test( 'User can see translation in empty Mini-Cart', async ( {
86-
page,
87-
frontendUtils,
88-
miniCartUtils,
89-
} ) => {
90-
await frontendUtils.emptyCart();
91-
await frontendUtils.goToShop();
92-
await miniCartUtils.openMiniCart();
93-
94-
await expect(
95-
page.getByRole( 'link', {
96-
name: getTestTranslation( 'Start shopping' ),
97-
} )
98-
).toBeVisible();
99-
} );
100-
101-
test( 'User can see translation in filled Mini-Cart', async ( {
102-
page,
103-
frontendUtils,
104-
miniCartUtils,
105-
} ) => {
106-
await frontendUtils.emptyCart();
107-
await frontendUtils.goToShop();
108-
await frontendUtils.addToCart( SIMPLE_PHYSICAL_PRODUCT_NAME );
109-
await miniCartUtils.openMiniCart();
110-
111-
await expect(
112-
page.getByRole( 'heading', {
113-
name: getTestTranslation( 'Your cart' ),
114-
} )
115-
).toBeVisible();
116-
117-
await expect(
118-
page.getByRole( 'link', {
119-
name: getTestTranslation( 'View my cart' ),
120-
} )
121-
).toBeVisible();
122-
123-
await expect(
124-
page.getByRole( 'link', {
125-
name: getTestTranslation( 'Go to checkout' ),
126-
} )
127-
).toBeVisible();
128-
} );
129-
} );
130-
13180
test.describe( 'Shopper → Tax', () => {
13281
test.beforeEach( async () => {
13382
await wpCLI( 'option set woocommerce_prices_include_tax no' );

0 commit comments

Comments
 (0)