aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Rysin <35688753+naspirato@users.noreply.github.com>2024-07-31 13:09:00 +0200
committerGitHub <noreply@github.com>2024-07-31 14:09:00 +0300
commitb5fa3c39b601a00357b4108ad8a07c8c647fcc4d (patch)
treec20e8342ff20c6453af4597e69b6ea9c75f203ff
parent8dde59cd0af86737d07a1cd8ff19811a2bd2b663 (diff)
downloadydb-b5fa3c39b601a00357b4108ad8a07c8c647fcc4d.tar.gz
Test report: dafault all expand + ctrl f (#7294)
-rw-r--r--.github/scripts/tests/templates/summary.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/scripts/tests/templates/summary.html b/.github/scripts/tests/templates/summary.html
index c069a5616a..d292a1f884 100644
--- a/.github/scripts/tests/templates/summary.html
+++ b/.github/scripts/tests/templates/summary.html
@@ -222,6 +222,13 @@
}
document.addEventListener("DOMContentLoaded", function() {
+
+ document.addEventListener('keydown', function(event) {
+ if ((event.ctrlKey && event.keyCode == 70) || (event.metaKey && event.keyCode == 70)) {
+ toggleAllTables('expand');
+ }
+ });
+
document.addEventListener('click', function(event) {
if (!event.target.closest('.svg-icon') && !event.target.classList.contains('copy')) {
hideTooltips();
@@ -250,19 +257,23 @@
});
});
- document.getElementById('expand-all').addEventListener('click', () => toggleAllTables('expand'));
- document.getElementById('collapse-all').addEventListener('click', () => toggleAllTables('collapse'));
+ document.getElementById('expand-all').addEventListener('click', function(event) {
+ toggleAllTables('expand');
+ });
+ document.getElementById('collapse-all').addEventListener('click', function(event) {
+ toggleAllTables('collapse');
+ });
});
</script>
</head>
<body>
<div class="toggle-visibility-buttons">
- <button id="expand-all">Expand All for Search</button>
+ <button id="expand-all">Expand All</button>
<button id="collapse-all">Collapse All</button>
</div>
{% for status in status_order %}
<h1 id="{{ status.name}}" class="collapsible-header">{{ status.name }} ({{ tests[status] | length }})</h1>
-<table class="collapsible-content{% if status.name == 'FAIL' %} active{% endif %}" border="1">
+<table class="collapsible-content active" border="1">
<thead>
<tr>
<th>test name</th>