[ACS-7360] aca playwright e2e file name rename with .e2e.ts extension (#3738)

* [ACS-7360] authentication updated to e2e.ts

* [ACS-7360] copy-move-actions tests updated to e2e.ts

* [ACS-7360] create-actions tests updated to e2e.ts

* [ACS-7360] folder-rules tests updated to e2e.ts

* [ACS-7360] info-drawer tests updates to e2e.ts

* [ACS-7360] library-actions tests updated to e2e.ts

* [ACS_7360] list-views tests updated to e2e.ts

* [ACS-7360] navigation tests updated to e2e.ts

* [ACS-7360] pagination tests updated to e2e.ts

* [ACS-7360] search tests updated to e2e.ts

* [ACS-7360] share-actions tests updated to e2e.ts

* [ACS-7360] special-permissions tests updated to e2e.ts

* [ACS-7360] viewer tests updated to e2e.ts

* [ACS-7360] replaced every .spec.ts and .test.ts with .e2e.ts

* [ACS-7360] undo .spec.ts chages for non test files

* [ACS-7360] hardcoded credentials sonarcloud fix 1

* [ACS-7360] hardcoded credentials sonarcloud fix 2
This commit is contained in:
Adam Świderski
2024-03-27 15:27:56 +01:00
committed by GitHub
parent dd17437fce
commit a20f8d9ac8
49 changed files with 15 additions and 12 deletions

View File

@@ -23,13 +23,13 @@
*/
import { expect } from '@playwright/test';
import { ActionType, ApiClientFactory, getUserState, test } from '@alfresco/playwright-shared';
import { ActionType, ApiClientFactory, getUserState, test, Utils } from '@alfresco/playwright-shared';
test.use({ storageState: getUserState('hruser') });
test.describe('Folder Rules Actions', () => {
const apiClientFactory = new ApiClientFactory();
const randomFolderName = `playwright-folder-${(Math.random() + 1).toString(36).substring(6)}`;
const randomRuleName = `playwright-rule-${(Math.random() + 1).toString(36).substring(6)}`;
const randomFolderName = `playwright-folder-${Utils.random()}`;
const randomRuleName = `playwright-rule-${Utils.random()}`;
const checkInValue = 'check In Value';
const actionValue = ' A site which contains sfdc content [sfdc:site] ';
const autoDeclareOptionsValue = 'For all major and minor versions [ALL]';

View File

@@ -23,13 +23,13 @@
*/
import { expect } from '@playwright/test';
import { ActionType, ApiClientFactory, Comparator, Field, getUserState, test } from '@alfresco/playwright-shared';
import { ActionType, ApiClientFactory, Comparator, Field, getUserState, test, Utils } from '@alfresco/playwright-shared';
test.use({ storageState: getUserState('hruser') });
test.describe('Folder Rules Conditions', () => {
const apiClientFactory = new ApiClientFactory();
const randomFolderName = `playwright-folder-${(Math.random() + 1).toString(36).substring(6)}`;
const randomRuleName = `playwright-rule-${(Math.random() + 1).toString(36).substring(6)}`;
const randomFolderName = `playwright-folder-${Utils.random()}`;
const randomRuleName = `playwright-rule-${Utils.random()}`;
const specialChars = '!@£$%^&*()~#/';
let folderId: string;

View File

@@ -22,13 +22,13 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/
import { ApiClientFactory, getUserState, test } from '@alfresco/playwright-shared';
import { ApiClientFactory, getUserState, test, Utils } from '@alfresco/playwright-shared';
test.use({ storageState: getUserState('hruser') });
test.describe('Rules - Manage Rules', () => {
const apiClientFactory = new ApiClientFactory();
const randomName = `playwright-folder-${(Math.random() + 1).toString(36).substring(6)}`;
const randomRuleName = `playwright-rule-${(Math.random() + 1).toString(36).substring(6)}`;
const randomName = `playwright-folder-${Utils.random()}`;
const randomRuleName = `playwright-rule-${Utils.random()}`;
let folderId: string;