@@ -166,18 +166,14 @@ test('hydration', async () => {
166
166
expect ( await page . textContent ( 'button' ) ) . toMatch ( '1' )
167
167
} )
168
168
169
- test (
170
- 'hmr' ,
171
- async ( ) => {
172
- // This is test is flaky in Mac CI, but can't be reproduced locally. Wait until
173
- // network idle to avoid the issue. TODO: This may be caused by a bug when
174
- // modifying a file while loading, we should remove this guard
175
- await page . goto ( url , { waitUntil : 'networkidle' } )
176
- editFile ( 'src/pages/Home.vue' , ( code ) => code . replace ( 'Home' , 'changed' ) )
177
- await untilUpdated ( ( ) => page . textContent ( 'h1' ) , 'changed' )
178
- } ,
179
- { retry : 3 } ,
180
- )
169
+ test ( 'hmr' , { retry : 3 } , async ( ) => {
170
+ // This is test is flaky in Mac CI, but can't be reproduced locally. Wait until
171
+ // network idle to avoid the issue. TODO: This may be caused by a bug when
172
+ // modifying a file while loading, we should remove this guard
173
+ await page . goto ( url , { waitUntil : 'networkidle' } )
174
+ editFile ( 'src/pages/Home.vue' , ( code ) => code . replace ( 'Home' , 'changed' ) )
175
+ await untilUpdated ( ( ) => page . textContent ( 'h1' ) , 'changed' )
176
+ } )
181
177
182
178
test ( 'client navigation' , async ( ) => {
183
179
await untilBrowserLogAfter ( ( ) => page . goto ( url ) , 'hydrated' )
0 commit comments