@@ -72,12 +72,6 @@ function locateCategoryButton(page: Page, category: string): Locator {
7272 . getByRole ( 'button' , { name : category , exact : true } )
7373}
7474
75- /** Find an asset panel. */
76- function locateRightPanel ( page : Page ) {
77- // This has no identifying features.
78- return page . getByTestId ( 'right-panel' ) . locator ( 'visible=true' )
79- }
80-
8175/** Actions for the "drive" page. */
8276export default class DrivePageActions < Context = object > extends PageActions < Context > {
8377 /** Actions for navigating to another page. */
@@ -421,27 +415,6 @@ export default class DrivePageActions<Context = object> extends PageActions<Cont
421415 } )
422416 }
423417
424- /** Show the properties tab of the Asset Panel. */
425- togglePropertiesAssetPanel ( ) {
426- return this . step ( 'Toggle properties asset panel' , async ( page ) => {
427- await page . getByRole ( 'tab' , { name : 'Properties' } ) . click ( )
428- } )
429- }
430-
431- /** Show the description tab of the Asset Panel. */
432- toggleDescriptionAssetPanel ( ) {
433- return this . step ( 'Toggle description asset panel' , async ( page ) => {
434- await page . getByRole ( 'tab' , { name : 'Description' } ) . click ( )
435- } )
436- }
437-
438- /** Show the Docs tab of the Asset Panel. */
439- toggleDocsAssetPanel ( ) {
440- return this . step ( 'Toggle docs asset panel' , async ( page ) => {
441- await page . getByRole ( 'tab' , { name : 'Documentation' } ) . click ( )
442- } )
443- }
444-
445418 /** Interact with the container element of the assets table. */
446419 withAssetsTable (
447420 callback : ( input : Locator , context : Context , page : Page ) => Promise < void > | void ,
@@ -451,13 +424,6 @@ export default class DrivePageActions<Context = object> extends PageActions<Cont
451424 } )
452425 }
453426
454- /** Interact with the Asset Panel. */
455- withRightPanel ( callback : LocatorCallback < Context > ) {
456- return this . step ( 'Interact with right panel' , async ( page , context ) => {
457- await callback ( locateRightPanel ( page ) , context )
458- } )
459- }
460-
461427 /** Open the Data Link creation modal by clicking on the Data Link icon. */
462428 openDataLinkModal ( ) {
463429 return this . step ( 'Open "new data link" modal' , ( page ) =>
0 commit comments