MichalFidor a0c7631abb
[AAE-7160] Setup Playwright in ADF - Storybook testing (#7537)
* [AAE-7160] Setup Playwright in ADF - Storybook testing

* New test cases for groups component. Reorganize the files

* Add to package.json scripts - npm run playwright

* Change amount of workers

* Change workesr to 2
2022-03-07 08:36:55 +01:00

20 lines
590 B
TypeScript

/*
* Copyright © 2005 - 2021 Alfresco Software, Ltd. All rights reserved.
*
* License rights for this program may be obtained from Alfresco Software, Ltd.
* pursuant to a written agreement and any use of this program without such an
* agreement is prohibited.
*/
import { Page } from '@playwright/test';
import { BaseComponent } from '../base.component';
export class ErrorComponent extends BaseComponent {
private static rootElement = 'mat-error';
public content = this.getChild('');
constructor(page: Page) {
super(page, ErrorComponent.rootElement);
}
}