File tree Expand file tree Collapse file tree
components/atomic-design/organisms/Table Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 2.0.12
1+ 2.0.13-dev
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ apiVersion: v2
44name : orch-ui-admin
55description : Deploy Edge-Native Software Platform UI Admin pods on Kubernetes
66type : application
7- version : 2.0.12
7+ version : 2.0.13-dev
88# Default appVersion will be overwritten by a the build to use the version from package.json.
99
1010# This value is supplied only to enable local unbuilt deployment of released content.
11- appVersion : " 2.0.12 "
11+ appVersion : " 2.0.13-dev "
1212annotations :
1313 api_observability_monitor : 0.0.5
1414dependencies : []
Original file line number Diff line number Diff line change 1- 2.0.16
1+ 2.0.17-dev
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ apiVersion: v2
44name : orch-ui-cluster-orch
55description : Deploy the Edge Orchestrator cluster-orch pod
66type : application
7- version : 2.0.16
7+ version : 2.0.17-dev
88# Default appVersion will be overwritten by a the build to use the version from package.json.
99
1010# This value is supplied only to enable local unbuilt deployment of released content.
11- appVersion : " 2.0.16 "
11+ appVersion : " 2.0.17-dev "
1212annotations : {}
1313dependencies : []
Original file line number Diff line number Diff line change 1- 1.0.12
1+ 1.0.13-dev
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ apiVersion: v2
44name : orch-ui-infra
55description : Deploy the Edge-Native Software Platform Infrastructure pod
66type : application
7- version : 1.0.12
7+ version : 1.0.13-dev
88# Default appVersion will be overwritten by a the build to use the version from package.json.
99
10- appVersion : " 1.0.12 "
10+ appVersion : " 1.0.13-dev "
1111dependencies : []
1212annotations : {}
Original file line number Diff line number Diff line change 1- 2.0.12
1+ 2.0.13-dev
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ apiVersion: v2
44name : orch-ui-root
55description : Deploy Edge Orchestrator UI pods on Kubernetes
66type : application
7- version : 2.0.12
7+ version : 2.0.13-dev
88# Default appVersion will be overwritten by a the build to use the version from package.json.
99
1010# This value is supplied only to enable local unbuilt deployment of released content.
11- appVersion : " 2.0.12 "
11+ appVersion : " 2.0.13-dev "
1212annotations : {}
1313dependencies : []
Original file line number Diff line number Diff line change @@ -284,16 +284,24 @@ export class TablePom extends CyPom<Selectors> {
284284 cyGet ( "rowExpander" ) . eq ( row ) . click ( ) ;
285285 }
286286
287- public search ( term : string ) {
287+ /**
288+ * Searches the table for a term and waits for the search to complete.
289+ * @param term The term to search for.
290+ * @param intercept Whether to intercept the search request. Defaults to true. Set it to false if the search is on local data.
291+ */
292+ public search ( term : string , intercept : boolean = true ) {
288293 this . root . should ( "be.visible" ) ;
289- cy
290- . intercept ( {
294+ if ( intercept ) {
295+ cy . intercept ( {
291296 url : "**filter*" , // TODO we might need to parametrize this URL
292297 method : "GET" ,
293298 times : 1 ,
294- } )
295- . as ( "search" ) ,
296- this . el . search . type ( term ) ;
297- cy . wait ( "@search" ) ;
299+ } ) . as ( "search" ) ;
300+ }
301+ this . el . search . type ( term ) ;
302+ if ( intercept ) {
303+ // Wait for the search request to complete
304+ cy . wait ( "@search" ) ;
305+ }
298306 }
299307}
You can’t perform that action at this time.
0 commit comments