File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ test.describe('Form sharing', () => {
5151 // After adding, the share link entry renders NcActions with :inline="1",
5252 // so the first action ("Copy to clipboard") appears as an inline button.
5353 await expect (
54- shareLinkRow . getByRole ( 'button ' , { name : / C o p y t o c l i p b o a r d / } ) ,
54+ shareLinkRow . getByRole ( 'link ' , { name : / C o p y t o c l i p b o a r d / } ) ,
5555 ) . toBeVisible ( )
5656 } )
5757
@@ -65,7 +65,7 @@ test.describe('Form sharing', () => {
6565
6666 // The inline "Copy to clipboard" action should now be visible
6767 await expect (
68- shareLinkRow . getByRole ( 'button ' , { name : / C o p y t o c l i p b o a r d / } ) ,
68+ shareLinkRow . getByRole ( 'link ' , { name : / C o p y t o c l i p b o a r d / } ) ,
6969 ) . toBeVisible ( )
7070
7171 // Open the overflow menu (the "Actions" toggle) to find "Remove link".
You can’t perform that action at this time.
0 commit comments