mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
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:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
@@ -102,6 +102,7 @@ test.describe('Folders - available actions : ', () => {
|
||||
await personalFiles.dataTable.selectMultiItem(testData.folderFavFile.name, testData.folderFile.name);
|
||||
await personalFiles.dataTable.getRowByName(testData.folderFavFile.name).click({ button: 'right' });
|
||||
await personalFiles.matMenu.verifyActualMoreActions(testData.multipleSelFile.contextMenu);
|
||||
await personalFiles.navigate({ remoteUrl: `#/personal-files/${parentId}` });
|
||||
await personalFiles.dataTable.selectMultiItem(testData.folderFavFile.name, testData.folderFile.name);
|
||||
await checkMultipleSelActionsAvailable(personalFiles, testData.multipleSelFile.toolbarPrimary, testData.multipleSelFile.toolbarMore);
|
||||
});
|
||||
|
Reference in New Issue
Block a user