File tree 3 files changed +39
-2
lines changed
tests/e2e/snapshots/saved
3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const TestPlanVersionsPage = () => {
91
91
// GraphQL results are read only so they need to be cloned
92
92
// before passing to SortableIssuesTable
93
93
const issues = useMemo ( ( ) => {
94
- return [ ...data . testPlan . issues ] ;
94
+ return data ? [ ...data . testPlan . issues ] : [ ] ;
95
95
} , [ data ] ) ;
96
96
97
97
if ( error ) {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const TestReview = () => {
39
39
// GraphQL results are read only so they need to be cloned
40
40
// before passing to SortableIssuesTable
41
41
const issues = useMemo ( ( ) => {
42
- return [ ...data . testPlanVersion . testPlan . issues ] ;
42
+ return data ? [ ...data . testPlanVersion . testPlan . issues ] : [ ] ;
43
43
} , [ data ] ) ;
44
44
45
45
if ( loading ) {
Original file line number Diff line number Diff line change @@ -123,6 +123,43 @@ <h2>Supporting Documentation</h2>
123
123
>
124
124
</ li >
125
125
</ ul >
126
+ < h2 id ="github-issues "> GitHub Issues (0 open, 0 closed)</ h2 >
127
+ < ul
128
+ class ="d-flex align-items-center my-3 "
129
+ aria-label ="Filter GitHub issues "
130
+ role ="group ">
131
+ < li aria-hidden ="true "> Filter</ li >
132
+ < li >
133
+ < button
134
+ type ="button "
135
+ data-test ="filter-open "
136
+ aria-pressed ="true "
137
+ class ="css-14jv778 btn active btn-secondary ">
138
+ Open
139
+ </ button >
140
+ </ li >
141
+ < li >
142
+ < button
143
+ type ="button "
144
+ data-test ="filter-closed "
145
+ aria-pressed ="false "
146
+ class ="css-14jv778 btn btn-secondary ">
147
+ Closed
148
+ </ button >
149
+ </ li >
150
+ < li >
151
+ < button
152
+ type ="button "
153
+ data-test ="filter-all "
154
+ aria-pressed ="false "
155
+ class ="css-14jv778 btn btn-secondary ">
156
+ All
157
+ </ button >
158
+ </ li >
159
+ </ ul >
160
+ < div aria-labelledby ="github-issues " class ="css-gy9uo3 ">
161
+ No GitHub Issues
162
+ </ div >
126
163
< h2 > Tests</ h2 >
127
164
< div class ="css-ifttx1 ">
128
165
< ul
You can’t perform that action at this time.
0 commit comments