diff --git a/app/assets/javascripts/dashboard/recent_work.js b/app/assets/javascripts/dashboard/recent_work.js
index 7f1bf0807..0e792c5c6 100644
--- a/app/assets/javascripts/dashboard/recent_work.js
+++ b/app/assets/javascripts/dashboard/recent_work.js
@@ -17,7 +17,7 @@ var DasboardRecentWorkWidget = (function() {
recentWorkItemType.attr('title', `${item.type} ID: ${item.code}`);
recentWorkItemType.tooltip();
}
- recentWorkItemType.attr('data-e2e', `e2e-dashRecentWork-${item.name}`);
+ recentWorkItemType.attr('data-e2e', `e2e-TL-dashRecentWork-${item.name}`);
});
}
diff --git a/app/assets/javascripts/repositories/index.js b/app/assets/javascripts/repositories/index.js
index dc85b1aea..fdbd6bc93 100644
--- a/app/assets/javascripts/repositories/index.js
+++ b/app/assets/javascripts/repositories/index.js
@@ -67,7 +67,7 @@
orderable: false,
render: function() {
return `
-
+
`;
}
@@ -75,7 +75,7 @@
targets: 1,
className: 'item-name',
render: function(value, type, row) {
- return `${value}`;
+ return `${value}`;
}
}, {
targets: 5,
diff --git a/app/assets/javascripts/repositories/repository_datatable.js b/app/assets/javascripts/repositories/repository_datatable.js
index 9c5ce079e..7e4f2ecf5 100644
--- a/app/assets/javascripts/repositories/repository_datatable.js
+++ b/app/assets/javascripts/repositories/repository_datatable.js
@@ -671,7 +671,7 @@ var RepositoryDatatable = (function(global) {
visible: true,
render: function(data, type, row) {
return "" + data + '';
+ + "class='record-info-link' data-e2e='e2e-TL-invInventory-" + data + "'>" + data + '';
}
}, {
// Added on column
diff --git a/app/helpers/repositories_datatable_helper.rb b/app/helpers/repositories_datatable_helper.rb
index b699ee462..ea05d2ff2 100644
--- a/app/helpers/repositories_datatable_helper.rb
+++ b/app/helpers/repositories_datatable_helper.rb
@@ -29,7 +29,8 @@ module RepositoriesDatatableHelper
'data-copy-modal-url': team_repository_copy_modal_path(team, repository_id: repository),
'data-rename-modal-url': team_repository_rename_modal_path(team, repository_id: repository),
'data-shared': repository.shared_with?(team),
- 'data-i-shared': repository.i_shared?(team)
+ 'data-i-shared': repository.i_shared?(team),
+ 'data-e2e': "e2e-RT-inventories-tableItemRow-#{repository.id}"
}
)
end
diff --git a/app/helpers/repository_datatable_helper.rb b/app/helpers/repository_datatable_helper.rb
index 3c92261bd..f85eca88b 100644
--- a/app/helpers/repository_datatable_helper.rb
+++ b/app/helpers/repository_datatable_helper.rb
@@ -16,7 +16,7 @@ module RepositoryDatatableHelper
row = public_send("#{repository.class.name.underscore}_default_columns", record)
row.merge!(
DT_RowId: record.id,
- DT_RowAttr: { 'data-state': row_style(record) },
+ DT_RowAttr: { 'data-state': row_style(record), 'data-e2e': "e2e-RT-invInventory-row-#{record.id}" },
recordInfoUrl: Rails.application.routes.url_helpers.repository_repository_row_path(repository, record),
rowRemindersUrl:
Rails.application.routes.url_helpers
diff --git a/app/views/dashboards/_quick_start.html.erb b/app/views/dashboards/_quick_start.html.erb
index 0d52ea50e..04aaf2588 100644
--- a/app/views/dashboards/_quick_start.html.erb
+++ b/app/views/dashboards/_quick_start.html.erb
@@ -1,4 +1,4 @@
-
diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb
index 97b9e555a..a32c99655 100644
--- a/app/views/dashboards/show.html.erb
+++ b/app/views/dashboards/show.html.erb
@@ -1,7 +1,7 @@
<% provide :head_title, t('nav.label.dashboard') %>
<% if current_team %>
-