@@ -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-
13180test . describe ( 'Shopper → Tax' , ( ) => {
13281 test . beforeEach ( async ( ) => {
13382 await wpCLI ( 'option set woocommerce_prices_include_tax no' ) ;
0 commit comments