File tree Expand file tree Collapse file tree
AudioCuesheetEditor.End2EndTests/Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public async Task KeyboardCommands_ShouldControlDialogs_WhenUsingEnterOrEscapeAs
142142 await detailView . NewFileNameInput . FillAsync ( "Test 123" ) ;
143143 await TestPage . Keyboard . PressAsync ( "Enter" ) ;
144144 await TestPage . GetByRole ( AriaRole . Dialog ) . WaitForAsync ( new ( ) { State = WaitForSelectorState . Detached } ) ;
145- await Expect ( detailView . AudiofileInput ) . ToHaveTextAsync ( " Test 123.mp3") ;
145+ await Expect ( TestPage . GetByRole ( AriaRole . Textbox , new ( ) { Name = "Audiofile" } ) ) . ToMatchAriaSnapshotAsync ( "- textbox \" Audiofile \" : Test 123.mp3") ;
146146 }
147147 }
148148}
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public async Task KeyboardCommands_ShouldControlDialogs_WhenUsingEnterOrEscapeAs
139139 await detailView . NewFileNameInput . FillAsync ( "Test 123" ) ;
140140 await TestPage . Keyboard . PressAsync ( "Enter" ) ;
141141 await TestPage . GetByRole ( AriaRole . Dialog ) . WaitForAsync ( new ( ) { State = WaitForSelectorState . Detached } ) ;
142- await Expect ( detailView . AudiofileInput ) . ToHaveTextAsync ( " Test 123.mp3") ;
142+ await Expect ( TestPage . GetByRole ( AriaRole . Textbox , new ( ) { Name = "Audiofile" } ) ) . ToMatchAriaSnapshotAsync ( "- textbox \" Audiofile \" : Test 123.mp3") ;
143143 }
144144 }
145145}
You can’t perform that action at this time.
0 commit comments