Add data-automation-id for column headers

This commit is contained in:
Hussain Ashraf 2016-05-24 13:14:23 +01:00
parent 2e4a6079c3
commit 7b9172d40b

View File

@ -11,6 +11,7 @@
<th class="mdl-data-table__cell--non-numeric {{col.cssClass}}"
*ngFor="#col of columns"
[class.column-header]="col.title"
[attr.data.automation-id]=“auto_id_ + col.source”
[class.mdl-data-table__header--sorted-ascending]="sorting.key === col.source && sorting.direction === 'asc'"
[class.mdl-data-table__header--sorted-descending]="sorting.key === col.source && sorting.direction === 'desc'"
(click)="onColumnHeaderClick(col)">