ACS-7709 fix workflow name and e2e (#3815)

* [ACS-7709] fix workflow name and e2e

* [ACS-7709] fix workflow name and e2e
This commit is contained in:
Akash Rathod
2024-04-25 11:04:26 +02:00
committed by GitHub
parent e670441499
commit 4e0f7017bb
5 changed files with 11 additions and 7 deletions

View File

@@ -23,6 +23,7 @@
*/
import { ApiClientFactory, getUserState, test, Utils } from '@alfresco/playwright-shared';
import { expect } from '@playwright/test';
test.use({ storageState: getUserState('hruser') });
test.describe('Rules - Manage Rules', () => {
@@ -47,8 +48,9 @@ test.describe('Rules - Manage Rules', () => {
await apiClientFactory.nodes.deleteNode(folderId, { permanent: true });
});
test('[C691651] Disable an existing rule', async ({ personalFiles, nodesPage }) => {
test('[C691642] Create a rule and disable it', async ({ personalFiles, nodesPage }) => {
await personalFiles.dataTable.performActionFromExpandableMenu(randomName, 'Manage rules');
await nodesPage.manageRules.disableRuleToggle.click();
await nodesPage.manageRules.ruleToggle.click();
await expect(nodesPage.manageRules.ruleToggleFalse).toBeVisible();
});
});