@@ -202,47 +202,6 @@ public async Task I_can_use_the_logger_to_produce_annotations_that_include_the_t
202202 testOutput . WriteLine ( output ) ;
203203 }
204204
205- [ Fact ]
206- public async Task I_can_use_the_logger_to_produce_annotations_that_include_test_traits ( )
207- {
208- // Arrange
209- using var testResultsDir = TempDir . Create ( ) ;
210- await using var commandWriter = new StringWriter ( ) ;
211-
212- var builder = await TestApplication . CreateBuilderAsync ( [
213- "--results-directory" ,
214- testResultsDir . Path ,
215- "--report-github" ,
216- "--report-github-annotations-title" ,
217- "<@traits.Category -> @test>" ,
218- "--report-github-annotations-message" ,
219- "[@traits.Category -> @test]" ,
220- ] ) ;
221-
222- builder . RegisterFakeTests (
223- new TestNodeBuilder ( )
224- . SetDisplayName ( "Test1" )
225- . SetTrait ( "Category" , "UI Test" )
226- . SetTrait ( "Document" , "SS01" )
227- . SetOutcome ( TestOutcome . Failed )
228- . Build ( )
229- ) ;
230-
231- builder . AddGitHubActionsReporting ( commandWriter , TextWriter . Null ) ;
232-
233- // Act
234- var app = await builder . BuildAsync ( ) ;
235- await app . RunAsync ( ) ;
236-
237- // Assert
238- var output = commandWriter . ToString ( ) . Trim ( ) ;
239-
240- output . Should ( ) . Contain ( "<UI Test -> Test1>" ) ;
241- output . Should ( ) . Contain ( "[UI Test -> Test1]" ) ;
242-
243- testOutput . WriteLine ( output ) ;
244- }
245-
246205 [ Fact ]
247206 public async Task I_can_use_the_logger_to_produce_annotations_that_include_the_error_message ( )
248207 {
0 commit comments