[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:
Akash Rathod
2023-08-03 18:29:10 +02:00
committed by GitHub
parent 26cd95ccbd
commit 4cee6563f5
22 changed files with 402 additions and 76 deletions

View File

@@ -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);

View File

@@ -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 }) => {

View File

@@ -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 }) => {