add data-automation-id to document list rows

This commit is contained in:
Hussain Ashraf
2016-05-23 17:18:59 +01:00
parent d9188a2ac9
commit 2e1faddc57

View File

@@ -33,7 +33,7 @@
</tr> </tr>
<tr *ngFor="#content of folder.list.entries; #idx = index" <tr *ngFor="#content of folder.list.entries; #idx = index"
[attr.automation-id]="getObjectValue(content.entry, 'name')"> [attr.data-automation-id]="getObjectValue(content.entry, 'name')">
<!-- Columns --> <!-- Columns -->
<td *ngFor="#col of columns" [ngSwitch]="col.source" <td *ngFor="#col of columns" [ngSwitch]="col.source"
class="mdl-data-table__cell--non-numeric {{content.entry.isFolder ? 'folder-row-cell' : 'document-row-cell'}} {{col.cssClass}}" class="mdl-data-table__cell--non-numeric {{content.entry.isFolder ? 'folder-row-cell' : 'document-row-cell'}} {{col.cssClass}}"