[ACS-7369] ng15 migration - fix e2es (#3796)

* [ACS-7369] e2e fixes

* [ACS-7369] cr fix
This commit is contained in:
Mykyta Maliarchuk
2024-04-17 10:28:44 +02:00
committed by GitHub
parent b63e8925d4
commit 01ca830dfc
12 changed files with 70 additions and 64 deletions

View File

@@ -78,12 +78,12 @@ test.describe('Create folders', () => {
});
test('[C216345] Create new folder dialog check', async () => {
await expect(folderDialog.getLabelText('Name')).toBeVisible();
await expect(folderDialog.getLabelText('*')).toBeVisible();
// TODO [ACS-7534] add * after it is added to adf placeholder/label
await expect(folderDialog.getElementByPlaceholder('input', 'Name')).toBeVisible();
await expect(folderDialog.folderNameInputLocator).toBeVisible();
await expect(folderDialog.getLabelText('Title')).toBeVisible();
await expect(folderDialog.getElementByPlaceholder('input', 'Title')).toBeVisible();
await expect(folderDialog.folderTitleInput).toBeVisible();
await expect(folderDialog.getLabelText('Description')).toBeVisible();
await expect(folderDialog.getElementByPlaceholder('textarea', 'Description')).toBeVisible();
await expect(folderDialog.folderDescriptionInput).toBeVisible();
await expect(folderDialog.cancelButton).toBeEnabled();
await expect(folderDialog.createButton).toBeDisabled();