File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
e2e-tests/playwright/support/pages Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export class Extensions {
3131 async clickReadMoreByPluginTitle ( pluginTitle : string ) {
3232 const allCards = this . page . locator ( ".v5-MuiPaper-outlined" ) ;
3333 const targetCard = allCards . filter ( { hasText : pluginTitle } ) ;
34- // Additional wait to ensure the panel stays open after any re-rendering
35- await this . page . waitForTimeout ( 1000 ) ;
3634 await targetCard . getByRole ( "link" , { name : "Read more" } ) . click ( ) ;
3735 }
3836
@@ -131,6 +129,7 @@ export class Extensions {
131129
132130 if ( searchTerm ) {
133131 await this . uiHelper . searchInputPlaceholder ( searchTerm ) ;
132+ await expect ( this . page . locator ( '[class*="v5-MuiPaper-elevation"]' ) ) . toContainText ( 'Plugins (1)' , { timeout : 10000 } ) ; //.toHaveCount(1, { timeout: 10000});
134133 }
135134
136135 if ( pluginName ) {
You can’t perform that action at this time.
0 commit comments