mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
some more fixes
This commit is contained in:
@@ -250,7 +250,7 @@ describe('Share a file', () => {
|
||||
expect(await shareDialog.getExpireDate()).toBe('', 'Expire date input is not empty');
|
||||
|
||||
await shareDialog.clickClose();
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe(undefined, `${file7} link still has expiration`);
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe('', `${file7} link still has expiration`);
|
||||
});
|
||||
|
||||
it('Shared file URL is not changed when Share dialog is closed and opened again - [C286335]', async () => {
|
||||
@@ -430,7 +430,7 @@ describe('Share a file', () => {
|
||||
expect(await shareDialog.getExpireDate()).toBe('', 'Expire date input is not empty');
|
||||
|
||||
await shareDialog.clickClose();
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe(undefined, `${file7} link still has expiration`);
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe('', `${file7} link still has expiration`);
|
||||
});
|
||||
|
||||
it('Shared file URL is not changed when Share dialog is closed and opened again - [C286646]', async () => {
|
||||
@@ -607,7 +607,7 @@ describe('Share a file', () => {
|
||||
expect(await shareDialog.getExpireDate()).toBe('', 'Expire date input is not empty');
|
||||
|
||||
await shareDialog.clickClose();
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe(undefined, `${file7} link still has expiration`);
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe('', `${file7} link still has expiration`);
|
||||
});
|
||||
|
||||
it('Shared file URL is not changed when Share dialog is closed and opened again - [C286664]', async () => {
|
||||
@@ -753,7 +753,7 @@ describe('Share a file', () => {
|
||||
expect(await shareDialog.getExpireDate()).toBe('', 'Expire date input is not empty');
|
||||
|
||||
await shareDialog.clickClose();
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file5Id)).toBe(undefined, `${file5} link still has expiration`);
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file5Id)).toBe('', `${file5} link still has expiration`);
|
||||
});
|
||||
|
||||
it('Shared file URL is not changed when Share dialog is closed and opened again - [C286655]', async () => {
|
||||
@@ -946,7 +946,7 @@ describe('Share a file', () => {
|
||||
expect(await shareDialog.getExpireDate()).toBe('', 'Expire date input is not empty');
|
||||
|
||||
await shareDialog.clickClose();
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe(undefined, `${file7} link still has expiration`);
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe('', `${file7} link still has expiration`);
|
||||
});
|
||||
|
||||
it('Shared file URL is not changed when Share dialog is closed and opened again - [C286673]', async () => {
|
||||
@@ -1082,7 +1082,7 @@ describe('Share a file', () => {
|
||||
expect(await shareDialog.getExpireDate()).toBe('', 'Expire date input is not empty');
|
||||
|
||||
await shareDialog.clickClose();
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe(undefined, `${file7} link still has expiration`);
|
||||
expect(await apis.user.nodes.getSharedExpiryDate(file7Id)).toBe('', `${file7} link still has expiration`);
|
||||
});
|
||||
|
||||
it('Share a file from the context menu - [C306981]', async () => {
|
||||
|
@@ -687,7 +687,7 @@ describe('Viewer actions', () => {
|
||||
expect(await Utils.fileExistsOnOS(docxSharedFiles)).toBe(true, 'File not found in download location');
|
||||
});
|
||||
|
||||
it('Copy action - [C286377]', async (done) => {
|
||||
it('Copy action - [C286377]', async () => {
|
||||
await dataTable.doubleClickOnRowByName(docxSharedFiles);
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
|
||||
@@ -704,7 +704,6 @@ describe('Viewer actions', () => {
|
||||
expect(await dataTable.isItemPresent(docxSharedFiles)).toBe(true, 'Item is not present in destination');
|
||||
|
||||
await apis.user.nodes.deleteNodeChildren(destinationId);
|
||||
done();
|
||||
});
|
||||
|
||||
it('Move action - [C286378]', async () => {
|
||||
|
Reference in New Issue
Block a user