@@ -47,27 +47,27 @@ describe("LangflowCounts accessibility", () => {
4747
4848 it ( "should_expose_github_button_with_accessible_name" , ( ) => {
4949 expect (
50- screen . getByRole ( "button" , { name : / g o t o g i t h u b r e p o / i } ) ,
50+ screen . getByRole ( "button" , { name : / g i t h u b 1 2 3 4 / i } ) ,
5151 ) . toBeInTheDocument ( ) ;
5252 } ) ;
5353
5454 it ( "should_expose_discord_button_with_accessible_name" , ( ) => {
5555 expect (
56- screen . getByRole ( "button" , { name : / g o t o d i s c o r d s e r v e r / i } ) ,
56+ screen . getByRole ( "button" , { name : / d i s c o r d 5 6 7 8 / i } ) ,
5757 ) . toBeInTheDocument ( ) ;
5858 } ) ;
5959
6060 it ( "should_hide_github_icon_from_assistive_technology" , ( ) => {
6161 const githubButton = screen . getByRole ( "button" , {
62- name : / g o t o g i t h u b r e p o / i,
62+ name : / g i t h u b 1 2 3 4 / i,
6363 } ) ;
6464 const svg = githubButton . querySelector ( "svg" ) ;
6565 expect ( svg ) . toHaveAttribute ( "aria-hidden" , "true" ) ;
6666 } ) ;
6767
6868 it ( "should_hide_discord_icon_from_assistive_technology" , ( ) => {
6969 const discordButton = screen . getByRole ( "button" , {
70- name : / g o t o d i s c o r d s e r v e r / i,
70+ name : / d i s c o r d 5 6 7 8 / i,
7171 } ) ;
7272 const svg = discordButton . querySelector ( "svg" ) ;
7373 expect ( svg ) . toHaveAttribute ( "aria-hidden" , "true" ) ;
0 commit comments