[ACS-7451] playwright eslint plugin introduced (#3746)

This commit is contained in:
Adam Świderski
2024-03-29 11:42:58 +01:00
committed by GitHub
parent f30fcbf693
commit 132ce1f75e
23 changed files with 162 additions and 87 deletions

View File

@@ -157,10 +157,10 @@ test.describe('Create Libraries ', () => {
await expect(libraryTable.getCellLinkByName(randomLibraryName).and(myLibrariesPage.page.getByTitle(randomLibraryDescription))).toBeVisible();
await libraryTable.getRowByName(randomLibraryName).click();
await libraryViewDetails.click();
expect(await libraryDetails.getNameField('Name').locator('input').inputValue()).toBe(randomLibraryName);
expect(await libraryDetails.getIdField('Library ID').locator('input').inputValue()).toBe(randomLibraryId);
await expect(libraryDetails.getNameField('Name').locator('input')).toHaveValue(randomLibraryName);
await expect(libraryDetails.getIdField('Library ID').locator('input')).toHaveValue(randomLibraryId);
await expect(libraryDetails.getVisibilityField('Visibility').locator('.mat-select-value').getByText(publicVisibility)).toBeVisible();
expect(await libraryDetails.getDescriptionField.inputValue()).toBe(randomLibraryDescription);
await expect(libraryDetails.getDescriptionField).toHaveValue(randomLibraryDescription);
createdLibrariesIds.push(randomLibraryId);
});