mirror of https://github.com/portainer/portainer
add data-cy to groupform table (#6432)
parent
1e21aeb7e8
commit
58de8e175f
|
@ -56,6 +56,7 @@
|
||||||
entry-click="$ctrl.associateEndpoint"
|
entry-click="$ctrl.associateEndpoint"
|
||||||
pagination-state="$ctrl.state.available"
|
pagination-state="$ctrl.state.available"
|
||||||
empty-dataset-message="No environment available"
|
empty-dataset-message="No environment available"
|
||||||
|
cy-value="available-endpoints"
|
||||||
></group-association-table>
|
></group-association-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -74,6 +75,7 @@
|
||||||
pagination-state="$ctrl.state.associated"
|
pagination-state="$ctrl.state.associated"
|
||||||
empty-dataset-message="No associated environment"
|
empty-dataset-message="No associated environment"
|
||||||
has-backend-pagination="this.pageType !== 'create'"
|
has-backend-pagination="this.pageType !== 'create'"
|
||||||
|
cy-value="associated-endpoints"
|
||||||
></group-association-table>
|
></group-association-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -64,5 +64,6 @@ angular.module('portainer.app').component('groupAssociationTable', {
|
||||||
groups: '<',
|
groups: '<',
|
||||||
showGroups: '<',
|
showGroups: '<',
|
||||||
hasBackendPagination: '<',
|
hasBackendPagination: '<',
|
||||||
|
cyValue: '@',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="datatable">
|
<div class="datatable">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover" data-cy="{{ $ctrl.cyValue }}">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||||
<input
|
<input
|
||||||
|
|
Loading…
Reference in New Issue