Skip to content

Commit

Permalink
Removed tests from excluded, small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzynakita committed Feb 16, 2024
1 parent d423263 commit c151447
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions e2e/playwright/library-actions/exclude.tests.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"C286326": "https://alfresco.atlassian.net/browse/ACS-6688"
}
{}
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ test.describe('Library actions ', () => {
await myLibrariesPage.reload({ waitUntil: domContentLoadedString });
await expect(libraryTable.getRowByName(user2Library2)).toBeVisible();
await libraryTable.getRowByName(user2Library2).click();
await myLibrariesPage.page.waitForTimeout(1000);
await myLibrariesHeader.clickMoreActions();
expect(await libraryMenu.isMenuItemVisible(removeFavoriteButton)).toBe(true);
await libraryMenu.clickMenuItem(removeFavoriteButton);
Expand Down Expand Up @@ -416,6 +417,7 @@ test.describe('Library actions ', () => {
await expect(libraryTable.getRowByName(user2Library4)).toBeVisible();
await searchPage.reload({ waitUntil: domContentLoadedString });
await libraryTable.getRowByName(user2Library4).click();
await searchPage.page.waitForTimeout(1000);
await searchHeader.clickMoreActions();
await libraryMenu.clickMenuItem(removeFavoriteButton);
await searchHeader.clickMoreActions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class AdfInfoDrawerComponent extends BaseComponent {
public propertiesTab = this.page.getByRole('tab', { name: 'Properties' });
public commentsTab = this.page.getByRole('tab', { name: 'Comments' });
public infoDrawerTabs = this.getChild('.adf-info-drawer-tab');
public commentInputField = this.getChild('mat-form-field');
public commentInputField = this.page.locator('#comment-input');
public commentsHeader = this.getChild('#comment-header');
public addCommentButton = this.getChild('[data-automation-id="comments-input-add"]');
public commentsList = this.getChild('.adf-comment-list-item');
Expand Down Expand Up @@ -79,8 +79,7 @@ export class AdfInfoDrawerComponent extends BaseComponent {
}

async addCommentToNode(commentText: string): Promise<void> {
await this.commentInputField.click();
await this.page.keyboard.type(commentText);
await this.commentInputField.fill(commentText);
await this.addCommentButton.click();
}

Expand Down

0 comments on commit c151447

Please sign in to comment.