mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-08-21 18:08:30 +00:00
[ACS-5519] viewer-general tests Playwright (#3327)
* [ACS-5519] view general tests Playwright * [ACS-5519] remove same function call
This commit is contained in:
@@ -22,14 +22,16 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BaseComponent } from './base.component';
|
||||
import { Page } from '@playwright/test';
|
||||
import { BaseComponent } from './base.component';
|
||||
import { Page } from '@playwright/test';
|
||||
|
||||
export class AcaHeader extends BaseComponent {
|
||||
private static rootElement = 'adf-toolbar';
|
||||
public createButton = this.getChild('[id="app.toolbar.create"]');
|
||||
export class AcaHeader extends BaseComponent {
|
||||
private static rootElement = 'adf-toolbar';
|
||||
public createButton = this.getChild('[id="app.toolbar.create"]');
|
||||
public viewButton = this.getChild('button[title="View"]');
|
||||
public searchButton = this.getChild('button[title="Search"]');
|
||||
|
||||
constructor(page: Page) {
|
||||
super(page, AcaHeader.rootElement);
|
||||
}
|
||||
}
|
||||
constructor(page: Page) {
|
||||
super(page, AcaHeader.rootElement);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user