mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-16 18:12:50 +00:00
[ACS-12817] removed file types for locked files
This commit is contained in:
committed by
Adam Świderski
parent
340550904d
commit
aa2fb0ddea
@@ -50,8 +50,8 @@ test.describe('Move actions', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test.beforeEach(async ({ personalFiles, page }) => {
|
test.beforeEach(async ({ personalFiles, page }) => {
|
||||||
sourceFile = `source-file-${Utils.random()}.txt`;
|
sourceFile = `source-file-${Utils.random()}`;
|
||||||
sourceFileInsideFolder = `source-file-inside-folder-${Utils.random()}.txt`;
|
sourceFileInsideFolder = `source-file-inside-folder-${Utils.random()}`;
|
||||||
sourceFolder = `source-folder-${Utils.random()}`;
|
sourceFolder = `source-folder-${Utils.random()}`;
|
||||||
destinationFolder = `destination-folder-${Utils.random()}`;
|
destinationFolder = `destination-folder-${Utils.random()}`;
|
||||||
|
|
||||||
|
|||||||
@@ -66,13 +66,13 @@ test.describe('Delete and undo delete', () => {
|
|||||||
|
|
||||||
const file1InFolder = `file1InFolder-${Utils.random()}.txt`;
|
const file1InFolder = `file1InFolder-${Utils.random()}.txt`;
|
||||||
const file2InFolder = `file2InFolder-${Utils.random()}.txt`;
|
const file2InFolder = `file2InFolder-${Utils.random()}.txt`;
|
||||||
const fileLocked1 = `fileLocked1-${Utils.random()}.txt`;
|
const fileLocked1 = `fileLocked1-${Utils.random()}`;
|
||||||
let fileLocked1Id: string;
|
let fileLocked1Id: string;
|
||||||
const fileLocked2 = `fileLocked2-${Utils.random()}.txt`;
|
const fileLocked2 = `fileLocked2-${Utils.random()}`;
|
||||||
let fileLocked2Id: string;
|
let fileLocked2Id: string;
|
||||||
const fileLocked3 = `fileLocked3-${Utils.random()}.txt`;
|
const fileLocked3 = `fileLocked3-${Utils.random()}`;
|
||||||
let fileLocked3Id: string;
|
let fileLocked3Id: string;
|
||||||
const fileLocked4 = `fileLocked4-${Utils.random()}.txt`;
|
const fileLocked4 = `fileLocked4-${Utils.random()}`;
|
||||||
let fileLocked4Id: string;
|
let fileLocked4Id: string;
|
||||||
|
|
||||||
const parent = `parentPF-${Utils.random()}`;
|
const parent = `parentPF-${Utils.random()}`;
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ test.describe('viewer action file', () => {
|
|||||||
const file5713NewVersion = TEST_FILES.JPG_FILE.name;
|
const file5713NewVersion = TEST_FILES.JPG_FILE.name;
|
||||||
const file5714 = `file-5714-${Utils.random()}.jpg`;
|
const file5714 = `file-5714-${Utils.random()}.jpg`;
|
||||||
const file5714NewVersion = TEST_FILES.JPG_FILE.name;
|
const file5714NewVersion = TEST_FILES.JPG_FILE.name;
|
||||||
const file17781 = `file-17781-${Utils.random()}.jpg`;
|
const file17781 = `file-17781-${Utils.random()}`;
|
||||||
const file17781NewVersion = TEST_FILES.JPG_FILE.name;
|
const file17781NewVersion = TEST_FILES.JPG_FILE.name;
|
||||||
const file5717 = `file-5717-${Utils.random()}.jpg`;
|
const file5717 = `file-5717-${Utils.random()}.jpg`;
|
||||||
const file5717NewVersion = TEST_FILES.JPG_FILE.name;
|
const file5717NewVersion = TEST_FILES.JPG_FILE.name;
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ export const fileSharedFav = buildFileData((fileRandom) => `file-${fileRandom}-s
|
|||||||
searchToolbarPrimary: searchConsumerSharedToolbarPrimary
|
searchToolbarPrimary: searchConsumerSharedToolbarPrimary
|
||||||
});
|
});
|
||||||
|
|
||||||
export const fileLocked = buildFileData((fileRandom) => `file-${fileRandom}-locked.txt`, {
|
export const fileLocked = buildFileData((fileRandom) => `file-${fileRandom}-locked`, {
|
||||||
description: 'file not shared, not fav, not office, locked',
|
description: 'file not shared, not fav, not office, locked',
|
||||||
|
|
||||||
contextMenu: consumerContextMenu,
|
contextMenu: consumerContextMenu,
|
||||||
@@ -319,7 +319,7 @@ export const fileLocked = buildFileData((fileRandom) => `file-${fileRandom}-lock
|
|||||||
searchToolbarPrimary: searchConsumerToolbarPrimary
|
searchToolbarPrimary: searchConsumerToolbarPrimary
|
||||||
});
|
});
|
||||||
|
|
||||||
export const fileFavLocked = buildFileData((fileRandom) => `file-${fileRandom}-fav-locked.txt`, {
|
export const fileFavLocked = buildFileData((fileRandom) => `file-${fileRandom}-fav-locked`, {
|
||||||
description: 'file not shared, fav, not office, locked',
|
description: 'file not shared, fav, not office, locked',
|
||||||
|
|
||||||
contextMenu: consumerFavContextMenu,
|
contextMenu: consumerFavContextMenu,
|
||||||
@@ -334,7 +334,7 @@ export const fileFavLocked = buildFileData((fileRandom) => `file-${fileRandom}-f
|
|||||||
searchToolbarPrimary: searchConsumerToolbarPrimary
|
searchToolbarPrimary: searchConsumerToolbarPrimary
|
||||||
});
|
});
|
||||||
|
|
||||||
export const fileSharedLocked = buildFileData((fileRandom) => `file-${fileRandom}-shared-locked.txt`, {
|
export const fileSharedLocked = buildFileData((fileRandom) => `file-${fileRandom}-shared-locked`, {
|
||||||
description: 'file shared, not fav, not office, locked',
|
description: 'file shared, not fav, not office, locked',
|
||||||
|
|
||||||
contextMenu: consumerSharedContextMenu,
|
contextMenu: consumerSharedContextMenu,
|
||||||
@@ -349,7 +349,7 @@ export const fileSharedLocked = buildFileData((fileRandom) => `file-${fileRandom
|
|||||||
searchToolbarPrimary: searchConsumerSharedToolbarPrimary
|
searchToolbarPrimary: searchConsumerSharedToolbarPrimary
|
||||||
});
|
});
|
||||||
|
|
||||||
export const fileSharedFavLocked = buildFileData((fileRandom) => `file-${fileRandom}-shared-fav-locked.txt`, {
|
export const fileSharedFavLocked = buildFileData((fileRandom) => `file-${fileRandom}-shared-fav-locked`, {
|
||||||
description: 'file shared, fav, not office, locked',
|
description: 'file shared, fav, not office, locked',
|
||||||
|
|
||||||
contextMenu: consumerSharedFavContextMenu,
|
contextMenu: consumerSharedFavContextMenu,
|
||||||
|
|||||||
Reference in New Issue
Block a user