mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-11 22:56:41 +08:00
added e2e tags to the main containers and two items
This commit is contained in:
parent
9d0fe1cd59
commit
9a5717d6e2
7 changed files with 7 additions and 6 deletions
|
|
@ -17,6 +17,7 @@ var DasboardRecentWorkWidget = (function() {
|
||||||
recentWorkItemType.attr('title', `${item.type} ID: ${item.code}`);
|
recentWorkItemType.attr('title', `${item.type} ID: ${item.code}`);
|
||||||
recentWorkItemType.tooltip();
|
recentWorkItemType.tooltip();
|
||||||
}
|
}
|
||||||
|
recentWorkItemType.attr('data-e2e', `e2e-dashRecentWork-${item.name}`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
orderable: false,
|
orderable: false,
|
||||||
render: function() {
|
render: function() {
|
||||||
return `<div class="sci-checkbox-container">
|
return `<div class="sci-checkbox-container">
|
||||||
<input class='repository-row-selector sci-checkbox' type='checkbox'>
|
<input class='repository-row-selector sci-checkbox' type='checkbox' data-e2e='e2e-inventories-inventoryCheckbox'>
|
||||||
<span class='sci-checkbox-label'></span>
|
<span class='sci-checkbox-label'></span>
|
||||||
</div>`;
|
</div>`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<% provide :head_title, t('nav.label.dashboard') %>
|
<% provide :head_title, t('nav.label.dashboard') %>
|
||||||
|
|
||||||
<% if current_team %>
|
<% if current_team %>
|
||||||
<div class="dashboard-view">
|
<div class="dashboard-view" data-e2e="e2e-dashboard-container">
|
||||||
<div class="dashboard-background"></div>
|
<div class="dashboard-background"></div>
|
||||||
<div class="dashboard-header">
|
<div class="dashboard-header">
|
||||||
<%= render partial: 'quick_start' %>
|
<%= render partial: 'quick_start' %>
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
<div class="sci--layout-navigation-left">
|
<div class="sci--layout-navigation-left">
|
||||||
<%= render "shared/navigation/left" if user_signed_in? %>
|
<%= render "shared/navigation/left" if user_signed_in? %>
|
||||||
</div>
|
</div>
|
||||||
<div class="sci--layout-navigation-navigator overflow-hidden relative">
|
<div class="sci--layout-navigation-navigator overflow-hidden relative" data-e2e="e2e-projects-navigator-container">
|
||||||
<%= render "shared/navigation/navigator" %>
|
<%= render "shared/navigation/navigator" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="sci--layout-navigation-breadcrumbs">
|
<div class="sci--layout-navigation-breadcrumbs">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<%= render partial: 'shared/sidebar/projects', locals: { team: current_team, sort: nil, view_mode: projects_view_mode } if current_team %>
|
<%= render partial: 'shared/sidebar/projects', locals: { team: current_team, sort: nil, view_mode: projects_view_mode } if current_team %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div id="projectsWrapper" class="content-pane flexible projects-index <%= projects_view_mode %>" data-view-mode="<%= projects_view_mode %>">
|
<div id="projectsWrapper" class="content-pane flexible projects-index <%= projects_view_mode %>" data-view-mode="<%= projects_view_mode %>" data-e2e="e2e-projects-container">
|
||||||
<%= render partial: 'projects/index/header', locals: { current_folder: current_folder} %>
|
<%= render partial: 'projects/index/header', locals: { current_folder: current_folder} %>
|
||||||
|
|
||||||
<span style="display: none;" data-hook="projects-index-html"></span>
|
<span style="display: none;" data-hook="projects-index-html"></span>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
<h1 data-view-mode="archived"><span><%= t('labels.archived')%></span> <%= t('libraries.index.head_title_archived') %></h1>
|
<h1 data-view-mode="archived"><span><%= t('labels.archived')%></span> <%= t('libraries.index.head_title_archived') %></h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-body">
|
<div class="content-body" data-e2e="e2e-inventories-container">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<% provide(:head_title, t("devise.sessions.new.head_title")) %>
|
<% provide(:head_title, t("devise.sessions.new.head_title")) %>
|
||||||
<% content_for(:body_class, 'sign-in-layout') %>
|
<% content_for(:body_class, 'sign-in-layout') %>
|
||||||
<div class="sign-in-container">
|
<div class="sign-in-container" data-e2e="e2e-signin-container">
|
||||||
<div class="sign-in-form-wrapper">
|
<div class="sign-in-form-wrapper">
|
||||||
<div class="center-block center-block-narrow">
|
<div class="center-block center-block-narrow">
|
||||||
<h1 class="log-in-title"><%=t "devise.sessions.new.title" %></h1>
|
<h1 class="log-in-title"><%=t "devise.sessions.new.title" %></h1>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue