mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-29 08:24:40 +08:00
e2e - modified tags where names were used [SCI-9620] (#6538)
This commit is contained in:
parent
6235a03595
commit
e4f49a86ab
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ var DasboardRecentWorkWidget = (function() {
|
|||
recentWorkItemType.attr('title', `${item.type} ID: ${item.code}`);
|
||||
recentWorkItemType.tooltip();
|
||||
}
|
||||
recentWorkItemType.attr('data-e2e', `e2e-TL-dashRecentWork-${item.name}`);
|
||||
recentWorkItemType.attr('data-e2e', `e2e-TL-dashRecentWork-${item.type}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
targets: 1,
|
||||
className: 'item-name',
|
||||
render: function(value, type, row) {
|
||||
return `<a href="${row.repositoryUrl}" data-e2e="e2e-TL-inventories-${value}">${value}</a>`;
|
||||
return `<a href="${row.repositoryUrl}" data-e2e="e2e-TL-inventories-Inventory-1">${value}</a>`;
|
||||
}
|
||||
}, {
|
||||
targets: 5,
|
||||
|
|
|
@ -667,7 +667,7 @@ var RepositoryDatatable = (function(global) {
|
|||
visible: true,
|
||||
render: function(data, type, row) {
|
||||
return "<a href='" + row.recordInfoUrl + "'"
|
||||
+ "class='record-info-link' data-e2e='e2e-TL-invInventory-" + data + "'>" + data + '</a>';
|
||||
+ "class='record-info-link' data-e2e='e2e-TL-invInventory-Item-1'>" + data + '</a>';
|
||||
}
|
||||
}, {
|
||||
// Added on column
|
||||
|
|
Loading…
Add table
Reference in a new issue