@@ -276,7 +276,7 @@ test('system offers recommendations', async ({ page }) => {
276
276
277
277
await expect (
278
278
page . getByText (
279
- / ( 0 r e c o m m e n d a t i o n s t o m a t c h w i t h m o r e h o s t s | C o n f i g u r a t i o n m a t c h e s w i t h a s u f f i c i e n t n u m b e r o f h o s t s ) /
279
+ / ( N o r e c o m m e n d a t i o n s t o m a t c h w i t h m o r e h o s t s | C o n f i g u r a t i o n m a t c h e s w i t h a s u f f i c i e n t n u m b e r o f h o s t s ) /
280
280
)
281
281
) . toBeVisible ( )
282
282
@@ -294,7 +294,7 @@ test('system offers recommendations', async ({ page }) => {
294
294
await clearToasts ( { page } )
295
295
// There are now recommendations.
296
296
await expect (
297
- page . getByText ( '0 recommendations to match with more hosts' )
297
+ page . getByText ( 'No recommendations to match with more hosts' )
298
298
) . toBeHidden ( )
299
299
300
300
// Apply all recommendations.
@@ -347,7 +347,7 @@ test('recommendations work with pinned fields', async ({ page }) => {
347
347
await fillTextInputByName ( page , 'maxDownloadPriceTB' , '100' )
348
348
// There are now recommendations.
349
349
await expect (
350
- page . getByText ( '0 recommendations to match with more hosts' )
350
+ page . getByText ( 'No recommendations to match with more hosts' )
351
351
) . toBeHidden ( )
352
352
353
353
// Set to high mixed values that will not need any recommendations.
@@ -357,14 +357,14 @@ test('recommendations work with pinned fields', async ({ page }) => {
357
357
await fillTextInputByName ( page , 'maxDownloadPriceTB' , '100000000' )
358
358
await expect (
359
359
page . getByText (
360
- / ( 0 r e c o m m e n d a t i o n s t o m a t c h w i t h m o r e h o s t s | C o n f i g u r a t i o n m a t c h e s w i t h a s u f f i c i e n t n u m b e r o f h o s t s ) /
360
+ / ( N o r e c o m m e n d a t i o n s t o m a t c h w i t h m o r e h o s t s | C o n f i g u r a t i o n m a t c h e s w i t h a s u f f i c i e n t n u m b e r o f h o s t s ) /
361
361
)
362
362
) . toBeVisible ( )
363
363
364
364
// Set the pinned max storage price to a low USD value equivalent to 100 SC.
365
365
await fillTextInputByName ( page , 'maxStoragePriceTBMonthPinned' , '0.39' )
366
366
// There are now recommendations again.
367
367
await expect (
368
- page . getByText ( '0 recommendations to match with more hosts' )
368
+ page . getByText ( 'No recommendations to match with more hosts' )
369
369
) . toBeHidden ( )
370
370
} )
0 commit comments