Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ The main dashboard now exposes a test-selection panel before execution:
- `Select All` enables the full suite.
- `Clear All` disables every test.
- `Expand All` and `Collapse All` control the selection tree.
- Search filters APIs, base URLs, endpoints, methods, and test names in the selection tree.
- The results view also has live search for APIs, endpoints, tests, assertions, and error text.
- Matching text is highlighted in both selection and result sections to make hits easier to spot.
- Environment, endpoint, and individual test checkboxes let you run only the subset you care about.
- Each page load starts with all tests selected by default.
- The dashboard and cURL import pages use local AdminLTE assets, so the UI does not rely on external CDNs at runtime.
Expand Down
307 changes: 256 additions & 51 deletions src/ApiTestRunner.App/wwwroot/app.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/ApiTestRunner.App/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ <h2 class="panel-title"><i class="fa-solid fa-list-check panel-title-icon"></i>T
</div>
</div>
<div class="card-body pt-0">
<div class="selection-search-row">
<label class="selection-search-input" for="selectionSearchInput">
<i class="fa-solid fa-magnifying-glass"></i>
<input id="selectionSearchInput" type="search" placeholder="Search APIs, base URLs, endpoints, methods, or tests" autocomplete="off" />
</label>
</div>
<div id="selectionContainer" class="selection-tree"></div>
</div>
</section>
Expand All @@ -183,6 +189,14 @@ <h2 class="panel-title"><i class="fa-solid fa-wave-square panel-title-icon"></i>
</div>
</div>
</div>
<div class="card-body pt-0">
<div class="selection-search-row">
<label class="selection-search-input" for="resultsSearchInput">
<i class="fa-solid fa-magnifying-glass"></i>
<input id="resultsSearchInput" type="search" placeholder="Search results by API, endpoint, method, test, assertion, or error text" autocomplete="off" />
</label>
</div>
</div>
</section>
</div>

Expand Down
39 changes: 39 additions & 0 deletions src/ApiTestRunner.App/wwwroot/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,45 @@ body.app-shell {
align-items: center;
}

.selection-search-row {
margin-bottom: 0.9rem;
}

.selection-search-input {
display: flex;
align-items: center;
gap: 0.7rem;
width: 100%;
padding: 0.75rem 0.9rem;
border-radius: 0.9rem;
border: 1px solid rgba(15, 23, 42, 0.1);
background: rgba(255, 255, 255, 0.82);
color: #64748b;
}

.selection-search-input i {
color: #64748b;
}

.selection-search-input input {
width: 100%;
border: 0;
background: transparent;
color: #0f172a;
outline: none;
}

.selection-search-input input::placeholder {
color: #94a3b8;
}

.search-highlight {
padding: 0 0.14rem;
border-radius: 0.3rem;
background: rgba(255, 193, 7, 0.38);
color: inherit;
}

.primary-button,
.ghost-button {
display: inline-flex;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("ApiTestRunner.Core.Tests")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+65ac9495de0178332192ab628fca8ab9544113cb")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b6531e3d6db2e3250c965f806f08cd3f385db4fb")]
[assembly: System.Reflection.AssemblyProductAttribute("ApiTestRunner.Core.Tests")]
[assembly: System.Reflection.AssemblyTitleAttribute("ApiTestRunner.Core.Tests")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
97c02c74a7fbd12e17e64b87f8cfa9ae138c3c19a7df23cb9ddfd960b4de5054
6bf5c1731d5b5f4edbe1a68420688a78362680f6b716751ae68a391bafad5036
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documents":{"D:\\Projects\\Research\\EndpointTestRunner\\*":"https://raw.githubusercontent.com/javaChip56/EndpointTestRunner/65ac9495de0178332192ab628fca8ab9544113cb/*"}}
{"documents":{"D:\\Projects\\Research\\EndpointTestRunner\\*":"https://raw.githubusercontent.com/javaChip56/EndpointTestRunner/b6531e3d6db2e3250c965f806f08cd3f385db4fb/*"}}
Binary file not shown.
Binary file not shown.
Loading