[AAE-10472] Upgrade and deprecate libs (#7788)

* upgrade and deprecate libs

* upgrade flex layout

* cleanup tslint libs

* diable the test

* exclude flaky e2e
This commit is contained in:
Denys Vuika
2022-08-26 16:56:51 +01:00
committed by GitHub
parent 4a39161ad3
commit 6f209726e9
27 changed files with 325 additions and 1501 deletions

View File

@@ -146,7 +146,7 @@ describe('Document List Component', () => {
await expect(await contentServicesPage.getAttributeValueForElement(testFile.name, cardProperties.CREATED)).toMatch(/(ago|few)/);
});
// tslint:disable-next-line: ban
// eslint-disable-next-line ban/ban
xit('[C280129] Should keep Gallery View when accessing a folder', async () => {
await contentServicesPage.navigateToCardFolder(folderName);

View File

@@ -2,5 +2,7 @@
"C269081": "https://alfresco.atlassian.net/browse/ADF-5385",
"C272819": "https://alfresco.atlassian.net/browse/ADF-5385",
"C362241": "https://alfresco.atlassian.net/browse/ADF-5385",
"C260040": "https://alfresco.atlassian.net/browse/AAE-8041"
"C260040": "https://alfresco.atlassian.net/browse/AAE-8041",
"C292004": "https://alfresco.atlassian.net/browse/AAE-10468",
"C297613": "https://alfresco.atlassian.net/browse/AAE-10468"
}

View File

@@ -15,7 +15,6 @@
* limitations under the License.
*/
/* tslint:disable */
export const checkboxVisibilityFormJson = {
formRepresentation: {
id: 'form-fb9245f6-1132-47bd-b0b3-823bb85002da',

View File

@@ -15,7 +15,6 @@
* limitations under the License.
*/
/* tslint:disable */
export const customDateFormAPS1 = `{
"formRepresentation":{
"id": 18977,

View File

@@ -15,7 +15,6 @@
* limitations under the License.
*/
/* tslint:disable */
export const displayValueTextJson = {
formRepresentation : {
id : 'form-340a2672-429b-454f-9bb1-7b4d7362bb89' ,

View File

@@ -15,96 +15,95 @@
* limitations under the License.
*/
/* tslint:disable */
export const peopleSingleModeFormMock = {
"formRepresentation": {
"id": "form-d74a4136-af83-4333-ac37-a6a74ac7aa84",
"name": "singlepeople",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-d74a4136-af83-4333-ac37-a6a74ac7aa84',
name: 'singlepeople',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "7c9ea025-4ae6-4a5a-9184-da8f7d5c5543",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: '7c9ea025-4ae6-4a5a-9184-da8f7d5c5543',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "PeopleSingleMode",
"name": "People",
"type": "people",
"readOnly": false,
"required": false,
"colspan": 1,
"optionType": "single",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'PeopleSingleMode',
name: 'People',
type: 'people',
readOnly: false,
required: false,
colspan: 1,
optionType: 'single',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": []
outcomes: [],
metadata: {},
variables: []
}
}
};
export const peopleMultipleModeFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "44e485d4-c286-425a-b488-3fda1707d319",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: '44e485d4-c286-425a-b488-3fda1707d319',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "PeopleMultipleMode",
"name": "People",
"type": "people",
"readOnly": false,
"required": false,
"colspan": 1,
"optionType": "multiple",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'PeopleMultipleMode',
name: 'People',
type: 'people',
readOnly: false,
required: false,
colspan: 1,
optionType: 'multiple',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}
@@ -112,50 +111,50 @@ export const peopleMultipleModeFormMock = {
};
export const peopleRequiredFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "44e485d4-c286-425a-b488-3fda1707d319",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: '44e485d4-c286-425a-b488-3fda1707d319',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "PeopleRequired",
"name": "People",
"type": "people",
"readOnly": false,
"required": true,
"colspan": 1,
"optionType": "single",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'PeopleRequired',
name: 'People',
type: 'people',
readOnly: false,
required: true,
colspan: 1,
optionType: 'single',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}
@@ -163,50 +162,50 @@ export const peopleRequiredFormMock = {
};
export const groupSingleModeFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "GroupSingleMode",
"name": "Group of people",
"type": "functional-group",
"readOnly": false,
"required": false,
"colspan": 1,
"optionType": "single",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'GroupSingleMode',
name: 'Group of people',
type: 'functional-group',
readOnly: false,
required: false,
colspan: 1,
optionType: 'single',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}
@@ -214,50 +213,50 @@ export const groupSingleModeFormMock = {
};
export const groupMultipleModeFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "GroupMultipleMode",
"name": "Group of people",
"type": "functional-group",
"readOnly": false,
"required": false,
"colspan": 1,
"optionType": "multiple",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'GroupMultipleMode',
name: 'Group of people',
type: 'functional-group',
readOnly: false,
required: false,
colspan: 1,
optionType: 'multiple',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}
@@ -265,50 +264,50 @@ export const groupMultipleModeFormMock = {
};
export const groupRequiredFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "GroupRequired",
"name": "Group of people",
"type": "functional-group",
"readOnly": false,
"required": true,
"colspan": 1,
"optionType": "single",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'GroupRequired',
name: 'Group of people',
type: 'functional-group',
readOnly: false,
required: true,
colspan: 1,
optionType: 'single',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}
@@ -316,50 +315,50 @@ export const groupRequiredFormMock = {
};
export const peopleReadOnlyFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "44e485d4-c286-425a-b488-3fda1707d319",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: '44e485d4-c286-425a-b488-3fda1707d319',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "PeopleReadOnly",
"name": "People",
"type": "people",
"readOnly": true,
"required": false,
"colspan": 1,
"optionType": "single",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'PeopleReadOnly',
name: 'People',
type: 'people',
readOnly: true,
required: false,
colspan: 1,
optionType: 'single',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}
@@ -367,50 +366,50 @@ export const peopleReadOnlyFormMock = {
};
export const groupReadOnlyFormMock = {
"formRepresentation": {
"id": "form-0fec4293-a33a-4408-923c-ba2d0645459c",
"name": "people",
"description": "",
"version": 0,
"standAlone": true,
"formDefinition": {
"tabs": [],
"fields": [
formRepresentation: {
id: 'form-0fec4293-a33a-4408-923c-ba2d0645459c',
name: 'people',
description: '',
version: 0,
standAlone: true,
formDefinition: {
tabs: [],
fields: [
{
"id": "abccf2c9-b526-45c7-abd4-b969bdf8ce15",
"name": "Label",
"type": "container",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
id: 'abccf2c9-b526-45c7-abd4-b969bdf8ce15',
name: 'Label',
type: 'container',
tab: null,
numberOfColumns: 2,
fields: {
1: [
{
"id": "GroupReadOnly",
"name": "Group of people",
"type": "functional-group",
"readOnly": true,
"required": false,
"colspan": 1,
"optionType": "single",
"visibilityCondition": null,
"params": {
"existingColspan": 1,
"maxColspan": 2
id: 'GroupReadOnly',
name: 'Group of people',
type: 'functional-group',
readOnly: true,
required: false,
colspan: 1,
optionType: 'single',
visibilityCondition: null,
params: {
existingColspan: 1,
maxColspan: 2
}
}
],
"2": []
2: []
}
}
],
"outcomes": [],
"metadata": {},
"variables": [
outcomes: [],
metadata: {},
variables: [
{
"id": "d6060d6b-1cb0-45dc-a18b-4d7898a9a5ad",
"name": "people",
"type": "string",
"value": "user1"
id: 'd6060d6b-1cb0-45dc-a18b-4d7898a9a5ad',
name: 'people',
type: 'string',
value: 'user1'
}
]
}

View File

@@ -15,7 +15,6 @@
* limitations under the License.
*/
/* tslint:disable */
export const tabFieldValueVisibilityJson = {
formRepresentation: {
id: 'form-3aff57d3-62af-4adf-9b14-1d8f44a28077',

View File

@@ -1,6 +0,0 @@
{
"extends": "../tslint.json",
"rules": {
"no-floating-promises": true
}
}