mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5786] info drawer comments test cleanup (#3378)
* cleamup changes * remove cleanup tests
This commit is contained in:
@@ -106,6 +106,11 @@ export class CommentsTab extends Component {
|
||||
return list.get(index - 1).getAttribute('id');
|
||||
}
|
||||
|
||||
async getNthCommentText(index: number): Promise<string> {
|
||||
const list = this.allByCss('mat-list-item .adf-comment-message');
|
||||
return list.get(index - 1).getText();
|
||||
}
|
||||
|
||||
async typeComment(text: string): Promise<void> {
|
||||
await typeText(this.commentTextarea, text);
|
||||
}
|
||||
|
@@ -115,7 +115,6 @@ export class InfoDrawer extends Component {
|
||||
await this.commentsTab.waitForCommentsContainer();
|
||||
await Promise.all([
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.commentsTab.component),
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(this.propertiesTab.component)
|
||||
]);
|
||||
} catch (error) {
|
||||
Logger.error('--- info-drawer clickCommentsTab catch error: ', error);
|
||||
|
Reference in New Issue
Block a user