Skip to content

Commit 9f97127

Browse files
committed
No reason for the UI tests to have empty textboxes, we're covering that in gh_detection.
1 parent 245f873 commit 9f97127

File tree

2 files changed

+3
-48
lines changed

2 files changed

+3
-48
lines changed

tests/corpus-fixture.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,6 @@ export function tableUI() {
9797
title: enhanced.enhancer.tableTitle(enhanced.spot),
9898
upperDecoration: enhanced.enhancer.tableUpperDecoration(enhanced.spot),
9999
})
100-
} else {
101-
uiResults.push({
102-
for: forValue,
103-
title: null,
104-
upperDecoration: null,
105-
})
106100
}
107101
}
108102
return uiResults

tests/lib/enhancers/__snapshots__/gh_ui.test.ts.snap

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ exports[`github ui > gh_issue_new:should render correct UI elements 1`] = `
8282

8383
exports[`github ui > gh_pr:should render correct UI elements 1`] = `
8484
[
85-
{
86-
"for": "id=feedback name=feedback className=form-control width-full mb-2",
87-
"title": null,
88-
"upperDecoration": null,
89-
},
9085
{
9186
"for": "id=new_comment_field name=comment[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit FormControl-textarea CommentBox-input js-size-to-fit size-to-fit js-session-resumable js-saved-reply-shortcut-comment-field overtype-input",
9287
"title": "Add "VCR" functionality
@@ -141,11 +136,6 @@ exports[`github ui > gh_pr_edit:should render correct UI elements 1`] = `
141136

142137
exports[`github ui > gh_pr_new:should render correct UI elements 1`] = `
143138
[
144-
{
145-
"for": "id=feedback name=feedback className=form-control width-full mb-2",
146-
"title": null,
147-
"upperDecoration": null,
148-
},
149139
{
150140
"for": "id=pull_request_body name=pull_request[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit FormControl-textarea CommentBox-input js-size-to-fit size-to-fit js-session-resumable js-saved-reply-shortcut-comment-field CommentBox-input--large overtype-input",
151141
"title": "Update README.md",
@@ -169,37 +159,8 @@ exports[`github ui > gh_project:should render correct UI elements 1`] = `[]`;
169159

170160
exports[`github ui > gh_project_draft:should render correct UI elements 1`] = `[]`;
171161

172-
exports[`github ui > gh_project_draft_edit:should render correct UI elements 1`] = `
173-
[
174-
{
175-
"for": "id=:r5a: name=null className=prc-Textarea-TextArea-13q4j",
176-
"title": null,
177-
"upperDecoration": null,
178-
},
179-
]
180-
`;
162+
exports[`github ui > gh_project_draft_edit:should render correct UI elements 1`] = `[]`;
181163

182-
exports[`github ui > gh_project_issue:should render correct UI elements 1`] = `
183-
[
184-
{
185-
"for": "id=:rbs: name=null className=prc-Textarea-TextArea-13q4j",
186-
"title": null,
187-
"upperDecoration": null,
188-
},
189-
]
190-
`;
164+
exports[`github ui > gh_project_issue:should render correct UI elements 1`] = `[]`;
191165

192-
exports[`github ui > gh_project_issue_edit:should render correct UI elements 1`] = `
193-
[
194-
{
195-
"for": "id=:rdh: name=null className=prc-Textarea-TextArea-13q4j",
196-
"title": null,
197-
"upperDecoration": null,
198-
},
199-
{
200-
"for": "id=:rbs: name=null className=prc-Textarea-TextArea-13q4j",
201-
"title": null,
202-
"upperDecoration": null,
203-
},
204-
]
205-
`;
166+
exports[`github ui > gh_project_issue_edit:should render correct UI elements 1`] = `[]`;

0 commit comments

Comments
 (0)