Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACS-5645] Added edit button to each property panel #8837

Closed
wants to merge 66 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
625bfb3
[ACS-5645]Added edit functionality for each panel and updated test cases
Yasa-Nataliya Aug 10, 2023
90f92f7
metadata e2e fix
Yasa-Nataliya Aug 13, 2023
69b396f
[ACS-5725]fixed failing e2es
Yasa-Nataliya Aug 17, 2023
1a4f93c
added unit test cases for new functionality
Yasa-Nataliya Aug 19, 2023
f87e645
minor fixes
Yasa-Nataliya Aug 19, 2023
db63277
minor fixes
Yasa-Nataliya Aug 21, 2023
aea020a
minor fixes
Yasa-Nataliya Aug 21, 2023
50e4c53
[ACS-5645]code modification
Yasa-Nataliya Aug 25, 2023
6e6bb7b
[ACS-5645]removed unwanted code
Yasa-Nataliya Aug 25, 2023
3ee6045
[ACS-5645]modified the changes
Yasa-Nataliya Aug 25, 2023
cba5126
[ACS-5645]removed unwanted space
Yasa-Nataliya Aug 25, 2023
225d487
[ACS-5645]removed unwanted code
Yasa-Nataliya Aug 29, 2023
f3d4105
[ACS-5645]Implemented changes as per the review comments
Yasa-Nataliya Aug 31, 2023
2722a55
linting fixes
Yasa-Nataliya Aug 31, 2023
75f00be
[ACS-5645]minor fixes
Yasa-Nataliya Aug 31, 2023
f09afa5
[ACS-5645] removed unwanted code
Yasa-Nataliya Sep 2, 2023
8bc8eed
[ACS-5645]modified the change
Yasa-Nataliya Sep 4, 2023
f36ff63
[ACS-5645]aligned input
Yasa-Nataliya Sep 4, 2023
797305a
[ACS-5645]modified changes
Yasa-Nataliya Sep 4, 2023
eeecde6
[ACS-5645]Implemented the changes as per the review comments
Yasa-Nataliya Sep 5, 2023
1dffcc9
[ACS-5645]linting fixes
Yasa-Nataliya Sep 5, 2023
12564ab
[ACS-5645]fixed sonarcloud issue
Yasa-Nataliya Sep 5, 2023
db9bb6e
[ACS-5645]fixed errors
Yasa-Nataliya Sep 5, 2023
aa36d2e
[ACS-5645]rename the function
Yasa-Nataliya Sep 6, 2023
80d68ad
[ACS-5645]fixes linting
Yasa-Nataliya Sep 6, 2023
b8b921c
[ACS-5540]lint fixes
Yasa-Nataliya Sep 6, 2023
3359c6e
[ACS-5645]Implemented the changes as per review comments
Yasa-Nataliya Sep 7, 2023
cd25b39
[ACS-5645] Removed unused code
Yasa-Nataliya Sep 7, 2023
337241d
[ACS-5645]linting fixes
Yasa-Nataliya Sep 7, 2023
c249199
[ACS-5645]fixes for lint
Yasa-Nataliya Sep 7, 2023
85ddab8
[ACS-5645] e2e fixes
Yasa-Nataliya Sep 7, 2023
dd5bf92
[ACS-5645]clean up
Yasa-Nataliya Sep 7, 2023
8b33263
[ACS-5645]Added translation
Yasa-Nataliya Sep 8, 2023
1616b80
[ACS-5645]fixes for e2e
Yasa-Nataliya Sep 8, 2023
f1f8ac1
[ACS-5645]fixes for e2e
Yasa-Nataliya Sep 9, 2023
4c81265
[ACS-5645]e2e fixes
Yasa-Nataliya Sep 10, 2023
7383dde
[ACS-5645] Renamed the theme
Yasa-Nataliya Sep 11, 2023
c99e25c
[ACS-5645]modified changes
Yasa-Nataliya Sep 13, 2023
db33193
[ACS-5645] fixed lock-file bug
Yasa-Nataliya Sep 20, 2023
fe172be
[ACS-5645] added tooltips for save and cancel icons
Yasa-Nataliya Sep 20, 2023
53a3b7f
[ACS-5645] Modified the changes
Yasa-Nataliya Sep 22, 2023
300211e
[ACS-5645]Modified the changes
Yasa-Nataliya Sep 22, 2023
e0f7814
[ACS-5645] Implemented the changes as per the review comments
Yasa-Nataliya Sep 22, 2023
42aad10
[ACS-5645] Implemented the changes as per the review comments
Yasa-Nataliya Sep 22, 2023
828f2f9
[ACS-5645]Added null checks
Yasa-Nataliya Sep 22, 2023
0c1f6b6
[ACS-5645]Modified the changes
Yasa-Nataliya Sep 22, 2023
db930c7
[ACS-5645] added group panel lock changes
Yasa-Nataliya Sep 22, 2023
c216d5f
[ACS-5645] Resolved sonarcloud issue
Yasa-Nataliya Sep 22, 2023
358cbfe
[ACS-5645] added test cases for tags component
Yasa-Nataliya Sep 25, 2023
7af641a
[ACS-5645] updated the documentation
Yasa-Nataliya Sep 25, 2023
67c3b88
[ACS-5645] updated the documentation
Yasa-Nataliya Sep 25, 2023
f0de971
[ACS-5645] updated the documentation
Yasa-Nataliya Sep 25, 2023
702805f
[ACS-5645] Implemented changes as per review comments
Yasa-Nataliya Sep 28, 2023
a70e187
[ACS-5645] lint fixes
Yasa-Nataliya Sep 28, 2023
2d1764c
[ACS-5645] Implemented the review comments
Yasa-Nataliya Oct 3, 2023
cff0e33
[ACS-5645] added focus
Yasa-Nataliya Oct 4, 2023
5fd37e4
[ACS-5645] modified the changes
Yasa-Nataliya Oct 9, 2023
ac1b820
[ACS-5645] Lint fixes
Yasa-Nataliya Oct 9, 2023
434188b
[ACS-5645] Lint fixes
Yasa-Nataliya Oct 9, 2023
ca39fc3
[ACS-5645] Lint fixes
Yasa-Nataliya Oct 9, 2023
f5f298b
[ACS-5645] Removed unwanted code
Yasa-Nataliya Oct 9, 2023
14c01d7
[ACS-5645] fixed sonarcloud issue
Yasa-Nataliya Oct 9, 2023
da9b238
[ci:force]
Yasa-Nataliya Oct 9, 2023
c40923f
[ACS-5645] Added missing translation key
Yasa-Nataliya Oct 10, 2023
084ce47
[ACS-5645] renamed the methods
Yasa-Nataliya Oct 10, 2023
cf3240f
[ci:force]
Yasa-Nataliya Oct 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ Displays and edits metadata related to a node.
| editable | `boolean` | | (optional) This flag toggles editable of content. |
| customPanels | [`ContentMetadataCustomPanel`](../interfaces/content-metadata-custom-panel.interface.md)`[]` | | (optional) List of custom metadata panels to be displayed as [`Dynamic components`](../../extensions/components/dynamic.component.md). |

### Events

| Name | Type | Description |
|----------------|-----------------------------------------------------------------------|---------------------------------------------------|
| editableChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when content's editable state is changed. |

## Details

The component shows metadata related to a given node. It uses the
Expand Down Expand Up @@ -444,3 +438,4 @@ When the list of values is too long, the options selection panel will be enhance
## Custom metadata panels

If there is a need to display some custom node properties that require additional UI or data to be fetched you can define custom metadata panels for the metadata component. After creating custom component to be displayed it has to be registered in [Extension Service](../../extensions/services/extension.service.md). Both `panelTitle` and `component` properties have to be defined.
![Chips for multi value properties](../../docassets/images/adf-search-select.png)
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ Allows to create multiple tags. That component contains input and two lists. Top
| existingTagsPanelVisibilityChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when bottom list is showing or hiding. |
| tagNameControlVisibleChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when input is showing or hiding. |
| tagsChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<string[]>` | Emitted when tags in top list are changed. |

Binary file added docs/docassets/images/UI_property_panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 20 additions & 2 deletions docs/tutorials/content-metadata-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,30 @@ Now that the `my-preset` configuration is defined, let's use it in a view of the
</adf-content-metadata-card>
```

### Properties

| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| readOnly | `boolean` | false | (optional) This flag sets the metadata in read only mode preventing changes. |
| editable | `boolean` | | (optional) This flag toggles editable of content. |
| editableTags | `boolean` | | (optional) This flag toggles editable of tags content. |
| editableCategories | `boolean` | | (optional) This flag toggles editable of categories content. |

### Events

| Name | Type | Description |
|----------------|-----------------------------------------------------------------------|---------------------------------------------------|
| editableChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when content's editable state is changed. |
| editableTagsChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when content's editableTags state is changed. |
| editableCategoriesChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when content's editableCategories state is changed. |
| groupChange | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<boolean>` | Emitted when content's group state is changed. |

### Viewing the result

After saving the html file, open the ADF app in a browser and dive into the `Personal Files > Sites > swsdp` folder of the Alfresco's repository. Once there, select the `documentLibrary` folder (one click only) and click on the view details icon (the `i` on the top right). Scrolling down the metadata tab on the right, click on the `More information` item at the bottom. Once clicked, you will see two different groups: `Properties` (already there by default) and `This is my preset`. Click on `This is my preset` to show the properties related.
After saving the html file, open the ADF app in a browser and dive into the `Personal Files > Sites > swsdp` folder of the Alfresco's repository. Once there, select the `documentLibrary` folder (one click only) and click on the view details icon (the `menu_open icon` on the top right). Scrolling down the metadata tab on the right. You will see different panels: `Properties` (already there by default), `Tags`, `Categories` and `grouped properties`.

In the following screenshot you can see how the result should look:

![content_metadata_preset](../docassets/images/content_metadata_preset.png)
![UI_Property_Panel](../docassets/images/UI_property_panel.png)

To check it out, double click on the `documentLibrary` folder and select (with one click) the `Presentations` folder. You should see the `This is my preset` group disappear from the metadata panel, because the node doesn't have the `st:siteContainer` aspect.
12 changes: 6 additions & 6 deletions e2e/content-services/components/permissions-component.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ describe('Permissions Component', () => {
await BrowserActions.closeMenuAndDialogs();
await contentList.checkActionMenuIsNotDisplayed();
await contentServicesPage.metadataContent('RoleEditor' + fileModel.name);
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.editIconClick();
await metadataViewPage.isEditGeneralIconDisplayed();
await metadataViewPage.clickEditIconGeneral();
await metadataViewPage.editPropertyIconIsDisplayed('properties.cm:title');
await metadataViewPage.enterPropertyText('properties.cm:title', 'newTitle1');
await expect(await metadataViewPage.getPropertyText('properties.cm:title')).toEqual('newTitle1');
Expand All @@ -360,8 +360,8 @@ describe('Permissions Component', () => {
await BrowserActions.closeMenuAndDialogs();
await contentList.checkActionMenuIsNotDisplayed();
await contentServicesPage.metadataContent('RoleCollaborator' + fileModel.name);
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.editIconClick();
await metadataViewPage.isEditGeneralIconDisplayed();
await metadataViewPage.clickEditIconGeneral();
await metadataViewPage.editPropertyIconIsDisplayed('properties.cm:title');
await metadataViewPage.enterPropertyText('properties.cm:title', 'newTitle2');
await expect(await metadataViewPage.getPropertyText('properties.cm:title')).toEqual('newTitle2');
Expand All @@ -382,8 +382,8 @@ describe('Permissions Component', () => {
await viewerPage.clickCloseButton();
await contentList.waitForTableBody();
await contentServicesPage.metadataContent('RoleCoordinator' + fileModel.name);
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.editIconClick();
await metadataViewPage.isEditGeneralIconDisplayed();
await metadataViewPage.clickEditIconGeneral();
await metadataViewPage.editPropertyIconIsDisplayed('properties.cm:title');
await metadataViewPage.enterPropertyText('properties.cm:title', 'newTitle3');
await expect(await metadataViewPage.getPropertyText('properties.cm:title')).toEqual('newTitle3');
Expand Down
23 changes: 0 additions & 23 deletions e2e/content-services/metadata/aspect-oriented-config.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ describe('Aspect oriented config', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.informationButtonIsDisplayed();
AleksanderSklorz marked this conversation as resolved.
Show resolved Hide resolved
await metadataViewPage.clickOnInformationButton();
AleksanderSklorz marked this conversation as resolved.
Show resolved Hide resolved

await metadataViewPage.clickMetadataGroup('IMAGE');
await metadataViewPage.checkPropertyIsVisible('properties.exif:pixelXDimension', 'textitem');
Expand Down Expand Up @@ -152,8 +150,6 @@ describe('Aspect oriented config', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsPresent('EXIF');
await metadataViewPage.checkMetadataGroupIsPresent('properties');
Expand All @@ -170,8 +166,6 @@ describe('Aspect oriented config', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsPresent('EXIF');
await metadataViewPage.checkMetadataGroupIsPresent('properties');
Expand All @@ -191,8 +185,6 @@ describe('Aspect oriented config', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsPresent('EXIF');
await metadataViewPage.checkMetadataGroupIsPresent('properties');
Expand Down Expand Up @@ -232,9 +224,6 @@ describe('Aspect oriented config', () => {
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();

await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsPresent('GROUP-TITLE1-TRANSLATION-KEY');
await metadataViewPage.checkMetadataGroupIsPresent('GROUP-TITLE2-TRANSLATION-KEY');

Expand Down Expand Up @@ -262,10 +251,6 @@ describe('Aspect oriented config', () => {
await CheckboxPage.check(metadataViewPage.presetSwitch);

await metadataViewPage.enterPresetText('custom-preset');

await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsPresent('properties');
await metadataViewPage.checkMetadataGroupIsPresent('Versionable');
});
Expand All @@ -286,9 +271,6 @@ describe('Aspect oriented config', () => {
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();

await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsNotPresent(emptyAspectName);
});

Expand All @@ -308,11 +290,6 @@ describe('Aspect oriented config', () => {
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();

await metadataViewPage.informationButtonIsDisplayed();
await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsNotPresent(aspectName);

await metadataViewPage.editIconClick();

await metadataViewPage.checkMetadataGroupIsPresent(aspectName);
Expand Down
16 changes: 8 additions & 8 deletions e2e/content-services/metadata/metadata-content-type.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ describe('content type', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.isEditGeneralIconDisplayed();

await expect(await viewerPage.getActiveTab()).toEqual('PROPERTIES');
const defaultType = (await metadataViewPage.hasContentType('Content')) || (await metadataViewPage.hasContentType('cm:content'));
await expect(defaultType).toBe(true, 'Content type not found');

await metadataViewPage.editIconClick();
await metadataViewPage.clickEditIconGeneral();

await expect(await metadataViewPage.changeContentType(type.title)).toBe(true, 'Failed to update node type.');
await metadataViewPage.clickSaveMetadata();
await metadataViewPage.clickSaveGeneralMetadata();
await metadataViewPage.checkConfirmDialogDisplayed();
await metadataViewPage.applyNodeProperties();

Expand All @@ -139,7 +139,7 @@ describe('content type', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.isEditGeneralIconDisplayed();

await expect(await viewerPage.getActiveTab()).toEqual('PROPERTIES');
const customType = (await metadataViewPage.hasContentType(type.title)) || (await metadataViewPage.hasContentType(`${model.namespacePrefix}:${type.name}`));
Expand All @@ -155,16 +155,16 @@ describe('content type', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.isEditGeneralIconDisplayed();

await expect(await viewerPage.getActiveTab()).toEqual('PROPERTIES');
let defaultType = (await metadataViewPage.hasContentType('Content')) || (await metadataViewPage.hasContentType('cm:content'));
await expect(defaultType).toBe(true, 'Content type not found');

await metadataViewPage.editIconClick();
await metadataViewPage.clickEditIconGeneral();

await expect(await metadataViewPage.changeContentType(type.title)).toBe(true, 'Failed to update node type.');
await metadataViewPage.clickSaveMetadata();
await metadataViewPage.clickSaveGeneralMetadata();

await metadataViewPage.checkConfirmDialogDisplayed();
await metadataViewPage.cancelNodeProperties();
Expand All @@ -178,7 +178,7 @@ describe('content type', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.isEditGeneralIconDisplayed();

await expect(await viewerPage.getActiveTab()).toEqual('PROPERTIES');
defaultType = (await metadataViewPage.hasContentType('Content')) || (await metadataViewPage.hasContentType('cm:content'));
Expand Down
6 changes: 0 additions & 6 deletions e2e/content-services/metadata/metadata-permissions.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('permissions', () => {
COMMENTS_TAB: 'COMMENTS',
PROPERTY_TAB: 'PROPERTIES',
DEFAULT_ASPECT: 'Properties',
MORE_INFO_BUTTON: 'More information',
LESS_INFO_BUTTON: 'Less information',
ARROW_DOWN: 'keyboard_arrow_down',
ARROW_UP: 'keyboard_arrow_up',
EDIT_BUTTON_TOOLTIP: 'Edit'
};

Expand Down Expand Up @@ -132,7 +128,6 @@ describe('permissions', () => {

await expect(await viewerPage.getActiveTab()).toEqual(METADATA.PROPERTY_TAB);

await metadataViewPage.clickOnInformationButton();

await metadataViewPage.clickMetadataGroup('EXIF');

Expand All @@ -152,7 +147,6 @@ describe('permissions', () => {

await expect(await viewerPage.getActiveTab()).toEqual(METADATA.PROPERTY_TAB);

await metadataViewPage.clickOnInformationButton();

await metadataViewPage.clickMetadataGroup('EXIF');

Expand Down
21 changes: 2 additions & 19 deletions e2e/content-services/metadata/metadata-properties.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ describe('CardView Component - properties', () => {
COMMENTS_TAB: 'COMMENTS',
PROPERTY_TAB: 'PROPERTIES',
DEFAULT_ASPECT: 'Properties',
MORE_INFO_BUTTON: 'More information',
LESS_INFO_BUTTON: 'Less information',
ARROW_DOWN: 'keyboard_arrow_down',
ARROW_UP: 'keyboard_arrow_up',
EDIT_BUTTON_TOOLTIP: 'Edit'
};

Expand Down Expand Up @@ -90,7 +86,6 @@ describe('CardView Component - properties', () => {

await expect(await viewerPage.getActiveTab()).toEqual(METADATA.PROPERTY_TAB);

await metadataViewPage.clickOnInformationButton();

await metadataViewPage.clickMetadataGroup('EXIF');

Expand All @@ -108,11 +103,9 @@ describe('CardView Component - properties', () => {
await viewerPage.clickInfoButton();
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();
await metadataViewPage.editIconIsDisplayed();
await metadataViewPage.isEditGeneralIconDisplayed();

await CheckboxPage.check(metadataViewPage.readonlySwitch);

await metadataViewPage.editIconIsNotDisplayed();
});

it('[C268965] Should multi property allow expand multi accordion at the same time when set', async () => {
Expand All @@ -121,15 +114,9 @@ describe('CardView Component - properties', () => {
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();

await metadataViewPage.clickOnInformationButton();

await metadataViewPage.checkMetadataGroupIsNotExpand('EXIF');
await metadataViewPage.checkMetadataGroupIsNotExpand('properties');

await metadataViewPage.clickMetadataGroup('properties');

await metadataViewPage.checkMetadataGroupIsNotExpand('EXIF');
await metadataViewPage.checkMetadataGroupIsExpand('properties');
await metadataViewPage.checkMetadataGroupIsNotExpand('EXIF');

await metadataViewPage.clickMetadataGroup('EXIF');

Expand Down Expand Up @@ -168,11 +155,7 @@ describe('CardView Component - properties', () => {
await viewerPage.checkInfoSideBarIsDisplayed();
await metadataViewPage.clickOnPropertiesTab();

await metadataViewPage.informationButtonIsDisplayed();

await CheckboxPage.uncheck(metadataViewPage.defaultPropertiesSwitch);

await metadataViewPage.informationButtonIsNotDisplayed();
});

it('[C307975] Should be able to choose which aspect to show expanded in the info-drawer', async () => {
Expand Down
Loading
Loading