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"
|
||||
pagination-state="$ctrl.state.available"
|
||||
empty-dataset-message="No environment available"
|
||||
cy-value="available-endpoints"
|
||||
></group-association-table>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -74,6 +75,7 @@
|
|||
pagination-state="$ctrl.state.associated"
|
||||
empty-dataset-message="No associated environment"
|
||||
has-backend-pagination="this.pageType !== 'create'"
|
||||
cy-value="associated-endpoints"
|
||||
></group-association-table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -64,5 +64,6 @@ angular.module('portainer.app').component('groupAssociationTable', {
|
|||
groups: '<',
|
||||
showGroups: '<',
|
||||
hasBackendPagination: '<',
|
||||
cyValue: '@',
|
||||
},
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="datatable">
|
||||
<table class="table table-hover">
|
||||
<table class="table table-hover" data-cy="{{ $ctrl.cyValue }}">
|
||||
<div class="col-sm-12">
|
||||
<i class="fa fa-search searchIcon" aria-hidden="true"></i>
|
||||
<input
|
||||
|
|
Loading…
Reference in New Issue