Skip to content

Commit cb0ec36

Browse files
authored
Merge pull request #1416 from w3c/releases
May 28, 2025 Production Release [1.15.0] Includes changes recently included in the [releases branch](https://github.com/w3c/aria-at-app/tree/releases) through #1415. [Latest CHANGELOG.md update: v1.15.0](https://github.com/w3c/aria-at-app/blob/releases/CHANGELOG.md#1150-2025-05-28).
2 parents 5de961d + 786d61b commit cb0ec36

File tree

85 files changed

+7658
-5024
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+7658
-5024
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,6 @@ client/resources
132132

133133
#temp files for import-tests
134134
server/scripts/import-tests/tmp
135+
136+
#IDE settings
137+
.vscode/settings.json

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1-
### [1.14.2](https://github.com/w3c/aria-at-app/compare/v1.14.1...v1.14.2) (2025-04-29)
1+
## [1.15.0](https://github.com/w3c/aria-at-app/compare/v1.14.2...v1.15.0) (2025-05-28)
2+
3+
4+
### Features
5+
6+
* Report Rerun ([#1348](https://github.com/w3c/aria-at-app/issues/1348)) ([e752e66](https://github.com/w3c/aria-at-app/commit/e752e669219e73127de4273ab14f6d5f83840eeb))
7+
* updates sorting and filtering for AT-specific tables on Candidate Review Page ([#1402](https://github.com/w3c/aria-at-app/issues/1402)) ([dc8587b](https://github.com/w3c/aria-at-app/commit/dc8587b0bcbaa3fed8c6727b41f9c26cb345fbd2)), closes [#1382](https://github.com/w3c/aria-at-app/issues/1382)
28

39

410
### Bug Fixes
511

6-
* Preserve automation initiated status for runs across results copy ([#1380](https://github.com/w3c/aria-at-app/issues/1380) ([964148b](https://github.com/w3c/aria-at-app/commit/964148b5175ce1fec20a633131334560e726802a))
12+
* Correct type of metrics ([#1403](https://github.com/w3c/aria-at-app/issues/1403)) ([726e1e3](https://github.com/w3c/aria-at-app/commit/726e1e3bbb6defb657e8774ffd020be5cee974bd))
13+
* corrected content in failing assertions summary table subheader ([#1358](https://github.com/w3c/aria-at-app/issues/1358)) ([3901ba4](https://github.com/w3c/aria-at-app/commit/3901ba42a6c1dacf6a9b6fb9d2a105b5bdf4b212))
14+
* Improve accuracy of rendered TestRenderer form ([#1409](https://github.com/w3c/aria-at-app/issues/1409)) ([c9fb427](https://github.com/w3c/aria-at-app/commit/c9fb427326d29e07ad05ef4a32e86a2cfe933522))
15+
* Update text in Test Queue's Rerun Reports Tab ([#1413](https://github.com/w3c/aria-at-app/issues/1413)) ([5a9bc7b](https://github.com/w3c/aria-at-app/commit/5a9bc7bb72ead13dfe857a4a9602eb339330a7eb))
16+
* Update the format for the Candidate Test Plan Run page titles ([#1406](https://github.com/w3c/aria-at-app/issues/1406)) ([88ef807](https://github.com/w3c/aria-at-app/commit/88ef807b9b004ca80c5aa58c92614ce6fe2ce158))
717

18+
### [1.14.2](https://github.com/w3c/aria-at-app/compare/v1.14.1...v1.14.2) (2025-04-29)
819

920
### [1.14.1](https://github.com/w3c/aria-at-app/compare/v1.14.0...v1.14.1) (2025-04-10)
1021

client/components/CandidateReview/CandidateTestPlanRun/index.jsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,12 @@ const CandidateTestPlanRun = () => {
312312
const { testPlanVersion } = testPlanReport;
313313
const { recommendedPhaseTargetDate } = testPlanVersion;
314314

315+
const pageTitlePrefix = isSummaryView
316+
? 'Summary of Failing Assertions'
317+
: `${currentTestIndex + 1}. ${currentTest?.title}`;
318+
319+
const pageTitle = `${pageTitlePrefix} | ${testPlanVersion.title} | Candidate Review | ARIA-AT`;
320+
315321
const reviewStatusText = vendorReviewStatusMap[reviewStatus];
316322

317323
const targetCompletionDate = dates.convertDateToString(
@@ -647,7 +653,7 @@ const CandidateTestPlanRun = () => {
647653
return (
648654
<Container>
649655
<Helmet>
650-
<title>Candidate Test Run Page | ARIA-AT</title>
656+
<title>{pageTitle}</title>
651657
</Helmet>
652658
<Row>
653659
<TestNavigator

client/components/CandidateReview/TestPlans/index.jsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,16 @@ const TestPlans = ({ testPlanVersions, ats, me }) => {
247247
</thead>
248248
<tbody>
249249
{Object.values(testPlanVersions)
250-
.sort((a, b) => (a.title < b.title ? -1 : 1))
250+
.sort((a, b) =>
251+
a.recommendedPhaseTargetDate < b.recommendedPhaseTargetDate
252+
? -1
253+
: 1
254+
)
251255
.map(testPlanVersion => {
252256
const testPlanReports =
253257
testPlanVersion.testPlanReports.filter(
254-
({ at }) => at.id === atId
258+
({ at, vendorReviewStatus }) =>
259+
at.id === atId && vendorReviewStatus !== 'APPROVED'
255260
);
256261
const candidatePhaseReachedAt =
257262
testPlanVersion.candidatePhaseReachedAt;

client/components/FailingAssertionsSummary/FailingAssertionsSummary.module.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
padding: 0;
55
}
66

7+
.failing-assertions-summary-table-container p {
8+
margin: 0;
9+
}
10+
11+
.failing-assertions-summary-table-container ul li {
12+
margin-left: var(--16px);
13+
list-style-type: disc;
14+
}
15+
716
.failing-assertions-summary-table-container table {
817
table-layout: fixed;
918
width: 100%;

client/components/FailingAssertionsSummary/Table.jsx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,24 @@ const FailingAssertionsSummaryTable = ({
1919
return (
2020
<>
2121
<p>
22-
{failingAssertions.length} assertions failed across{' '}
23-
{metrics.commandsCount} commands in {metrics.testsFailedCount} tests.
22+
{failingAssertions.length} of {failingAssertions.totalAssertionsCount}{' '}
23+
total assertions fail across:
2424
</p>
25+
<ul>
26+
<li>
27+
{metrics.testsFailedCount} test
28+
{metrics.testsFailedCount === 1 ? '' : 's'}
29+
</li>
30+
<li>
31+
{failingAssertions.uniqueAssertionStatementsCount} unique assertion
32+
statement
33+
{failingAssertions.uniqueAssertionStatementsCount === 1 ? '' : 's'}
34+
</li>
35+
<li>
36+
{failingAssertions.uniqueCommandsCount} unique command
37+
{failingAssertions.uniqueCommandsCount === 1 ? '' : 's'}
38+
</li>
39+
</ul>
2540

2641
<Table bordered responsive aria-labelledby="failing-assertions-heading">
2742
<thead>
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
.test-plan-refresh {
2+
max-width: 1200px;
3+
}
4+
5+
.rerun-dashboard {
6+
display: grid;
7+
grid-template-columns: 1fr;
8+
gap: var(--section-gap);
9+
margin-bottom: var(--section-gap);
10+
width: 100%;
11+
max-width: 100%;
12+
overflow-x: hidden;
13+
}
14+
15+
@media (min-width: 768px) {
16+
.rerun-dashboard {
17+
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
18+
}
19+
}
20+
21+
.rerun-opportunity {
22+
height: min-content;
23+
background-color: var(--white);
24+
padding: 0;
25+
margin-bottom: 1.5rem;
26+
width: 100%;
27+
max-width: 100%;
28+
overflow-x: hidden;
29+
}
30+
31+
.bot-name {
32+
font-size: var(--18px);
33+
font-weight: 600;
34+
color: var(--darkest-gray);
35+
margin: 0 0 var(--el-gap) 0;
36+
display: block;
37+
width: 100%;
38+
}
39+
40+
.events-header {
41+
border-bottom: 1px solid var(--border-gray);
42+
}
43+
44+
.rerun-header,
45+
.events-header {
46+
font-size: var(--24px);
47+
margin: 0;
48+
padding: var(--section-gap);
49+
color: var(--font-black);
50+
font-weight: var(--font-weight-medium);
51+
}
52+
53+
.empty-events-message {
54+
padding: var(--section-gap);
55+
color: var(--dark-gray-text);
56+
font-size: var(--default-font-size);
57+
text-align: center;
58+
margin: 0;
59+
}
60+
61+
.report-table {
62+
width: 100%;
63+
margin-bottom: 0;
64+
border-collapse: collapse;
65+
border: 1px solid var(--border-gray);
66+
}
67+
68+
.report-table th,
69+
.report-table td {
70+
padding: var(--el-gap) var(--section-gap);
71+
vertical-align: middle;
72+
text-align: left;
73+
border-bottom: 1px solid var(--border-gray);
74+
line-height: 1.5;
75+
border-left: none;
76+
border-right: none;
77+
}
78+
79+
.report-table td {
80+
background-color: white;
81+
}
82+
83+
.events-section table thead th,
84+
.report-table th {
85+
font-weight: var(--font-weight-headings);
86+
background-color: var(--bg-light-gray);
87+
color: var(--font-black);
88+
}
89+
90+
.report-table tbody tr:last-child td {
91+
border-bottom: none;
92+
}
93+
94+
.report-table th:first-child,
95+
.report-table td:first-child {
96+
padding-left: var(--section-gap);
97+
}
98+
99+
.report-table th:last-child,
100+
.report-table td:last-child {
101+
padding-right: var(--section-gap);
102+
}
103+
104+
.events-section {
105+
background-color: white;
106+
border: 1px solid var(--border-gray);
107+
border-radius: 0.5rem;
108+
padding: 0;
109+
margin-top: 2.5rem;
110+
overflow: hidden;
111+
}
112+
113+
.events-section .events-content {
114+
padding: var(--section-gap);
115+
background-color: var(--bg-lighter-gray);
116+
}
117+
118+
.events-section table {
119+
border: 1px solid var(--border-gray);
120+
}
121+
122+
.events-section table td {
123+
color: var(--font-black);
124+
padding: var(--el-gap) var(--el-gap);
125+
border-top: 1px solid var(--border-gray);
126+
border-bottom: none;
127+
}
128+
129+
.events-section tbody tr:first-child td {
130+
border-top: none;
131+
}
132+
133+
.events-section .timestamp-cell {
134+
white-space: nowrap;
135+
width: 180px;
136+
}
137+
138+
.events-section .message-cell {
139+
line-height: 1.6;
140+
color: var(--font-black);
141+
}
142+
143+
.events-header-container {
144+
display: flex;
145+
align-items: center;
146+
gap: var(--el-gap);
147+
}
148+
149+
.events-header-container h2 {
150+
margin: 0;
151+
font-size: inherit;
152+
font-weight: inherit;
153+
color: inherit;
154+
}
155+
156+
.action-header {
157+
display: flex;
158+
justify-content: flex-start;
159+
padding: 0 var(--section-gap) var(--section-gap) var(--section-gap);
160+
margin-top: var(--el-gap);
161+
}
162+
163+
.report-table-container {
164+
margin: 0 var(--section-gap) var(--section-gap) var(--section-gap);
165+
overflow-x: auto;
166+
border: none;
167+
}
168+
169+
.rerun-button {
170+
background-color: var(--positive-green);
171+
color: white;
172+
border: none;
173+
padding: 0.625rem 1.25rem;
174+
border-radius: 4px;
175+
font-size: var(--default-font-size);
176+
font-weight: var(--font-weight-medium);
177+
cursor: pointer;
178+
transition: all 0.2s ease;
179+
min-width: 140px;
180+
}
181+
182+
.rerun-button:disabled {
183+
background-color: var(--border-gray);
184+
cursor: not-allowed;
185+
}
186+
187+
.rerun-button:not(:disabled):hover {
188+
background-color: var(--rd-color);
189+
cursor: pointer;
190+
}
191+
192+
.rerun-button:focus {
193+
box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
194+
outline: none;
195+
}
196+
197+
.rerun-opportunity > div[role='button'] {
198+
padding: var(--section-gap);
199+
border-bottom: 1px solid transparent;
200+
background-color: var(--white);
201+
border-radius: 0.5rem 0.5rem 0 0;
202+
}
203+
204+
.rerun-opportunity > div[role='button'][aria-expanded='true'] {
205+
border-bottom-color: var(--border-gray);
206+
border-radius: 0.5rem 0.5rem 0 0;
207+
}
208+
209+
.rerun-opportunity > div:last-child > div {
210+
padding: 0;
211+
}
212+
213+
.report-description {
214+
padding: var(--section-gap);
215+
color: var(--dark-gray-text);
216+
font-size: var(--default-font-size);
217+
line-height: 1.6;
218+
}
219+
220+
.report-description p {
221+
margin-bottom: var(--el-gap);
222+
}
223+
224+
.report-description p:last-child {
225+
margin-bottom: 0;
226+
}
227+
228+
.report-count {
229+
font-weight: var(--font-weight-normal);
230+
font-size: var(--default-font-size);
231+
color: var(--dark-gray-text);
232+
margin-left: var(--el-gap);
233+
}

0 commit comments

Comments
 (0)