mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5650] viewer action files e2e migration (#3367)
* viewer action files e2e migration * viewer action files e2e remove comment * review code fix * [ci:force]
This commit is contained in:
@@ -44,16 +44,14 @@ test.describe('Folder Rules Actions', () => {
|
||||
});
|
||||
|
||||
test.beforeEach(async ({ personalFiles }) => {
|
||||
await personalFiles.navigate({ waitUntil: 'domcontentloaded' });
|
||||
await personalFiles.navigate({ remoteUrl: `#/nodes/${folderId}/rules` });
|
||||
});
|
||||
|
||||
test.afterAll(async () => {
|
||||
await apiClientFactory.nodes.deleteNode(folderId);
|
||||
await apiClientFactory.nodes.deleteNode(folderId, { permanent: true });
|
||||
});
|
||||
|
||||
test('[C691637] Create a rule with actions', async ({ personalFiles, nodesPage }) => {
|
||||
await personalFiles.dataTable.performActionFromExpandableMenu(randomFolderName, 'Manage rules');
|
||||
|
||||
test('[C691637] Create a rule with actions', async ({ nodesPage }) => {
|
||||
await nodesPage.toolbar.clickCreateRuleButton();
|
||||
await nodesPage.manageRulesDialog.ruleNameInputLocator.type(randomRuleName);
|
||||
|
||||
|
@@ -45,7 +45,7 @@ test.describe('Folder Rules Conditions', () => {
|
||||
});
|
||||
|
||||
test.afterAll(async () => {
|
||||
await apiClientFactory.nodes.deleteNode(folderId);
|
||||
await apiClientFactory.nodes.deleteNode(folderId, { permanent: true });
|
||||
});
|
||||
|
||||
test('[C691638] Create a rule with condition', async ({ personalFiles, nodesPage }) => {
|
||||
|
@@ -44,7 +44,7 @@ test.describe('Rules - Manage Rules', () => {
|
||||
});
|
||||
|
||||
test.afterAll(async () => {
|
||||
await apiClientFactory.nodes.deleteNode(folderId);
|
||||
await apiClientFactory.nodes.deleteNode(folderId, { permanent: true });
|
||||
});
|
||||
|
||||
test('[C691651] Disable an existing rule', async ({ personalFiles, nodesPage }) => {
|
||||
|
Reference in New Issue
Block a user