mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-9372] [E2E] Fixed eslint errors (#4479)
* [ACS-9372] Fixed eslint errors * [ACS-9372] Review fixes 1
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { BaseComponent } from './base.component';
|
||||
import { Page, expect } from '@playwright/test';
|
||||
import { Page } from '@playwright/test';
|
||||
|
||||
export class AdfInfoDrawerComponent extends BaseComponent {
|
||||
private static rootElement = 'adf-info-drawer';
|
||||
@@ -89,9 +89,8 @@ export class AdfInfoDrawerComponent extends BaseComponent {
|
||||
return parseInt(commentsCountString, 10);
|
||||
}
|
||||
|
||||
async verifyCommentsCountFromList(expectedNumber: number): Promise<void> {
|
||||
const commentsCountFromList = await this.commentsList.count();
|
||||
expect(commentsCountFromList).toEqual(expectedNumber);
|
||||
async getCommentsCountFromList(): Promise<number> {
|
||||
return this.commentsList.count();
|
||||
}
|
||||
|
||||
async waitForComments(): Promise<void> {
|
||||
|
Reference in New Issue
Block a user