File tree Expand file tree Collapse file tree
packages/gen-ai/frontend/src/__tests__/cypress/cypress/pages/playgroundPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,18 +32,18 @@ class MCPTab {
3232 }
3333
3434 // The table inside the MCP tab (testId unchanged in component)
35- findMCPServersTable ( ) : Cypress . Chainable < JQuery < HTMLElement > > {
36- return cy . findByTestId ( 'mcp-servers-panel-table' ) ;
35+ findMCPServersTable ( options ?: { timeout ?: number } ) : Cypress . Chainable < JQuery < HTMLElement > > {
36+ return cy . findByTestId ( 'mcp-servers-panel-table' , options ) ;
3737 }
3838
3939 openMCPTab ( ) : void {
4040 // Click the MCP tab to show the servers table
4141 this . clickMCPTab ( ) ;
42- this . findMCPServersTable ( ) . should ( 'exist' , { timeout : 30000 } ) . and ( 'be.visible' ) ;
42+ this . findMCPServersTable ( { timeout : 30000 } ) . should ( 'exist' ) . and ( 'be.visible' ) ;
4343 }
4444
4545 verifyMCPTabVisible ( ) : void {
46- this . findMCPServersTable ( ) . should ( 'exist' , { timeout : 30000 } ) . and ( 'be.visible' ) ;
46+ this . findMCPServersTable ( { timeout : 30000 } ) . should ( 'exist' ) . and ( 'be.visible' ) ;
4747 }
4848
4949 private findCheckedCheckboxes ( ) : Cypress . Chainable < JQuery < HTMLElement > > {
You can’t perform that action at this time.
0 commit comments