mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test * Add a new page in demo-shell. Add copyContent automated tests.
This commit is contained in:
committed by
Eugenio Romano
parent
550c0006c9
commit
bcdfcee397
@@ -0,0 +1,23 @@
|
||||
|
||||
<div style="height: 310px; overflow-y: auto;" data-automation-id="datatable">
|
||||
<adf-datatable
|
||||
#dataTable
|
||||
[data]="data">
|
||||
</adf-datatable>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Paste clipboard:
|
||||
<input data-automation-id="paste clipboard input">
|
||||
</div>
|
||||
|
||||
<div style="height: 310px; overflow-y: auto;" data-automation-id="copyClipboard-datatable">
|
||||
<adf-datatable
|
||||
[data]="dataForCopy">
|
||||
<data-columns>
|
||||
<data-column key="id" title="Id" [copyContent]="true"></data-column>
|
||||
<data-column key="name" title="Name" class="adf-full-width name-column" [copyContent]="false"></data-column>
|
||||
<data-column key="createdBy" title="Created By"></data-column>
|
||||
</data-columns>
|
||||
</adf-datatable>
|
||||
</div>
|
Reference in New Issue
Block a user