[ACA-4283] Change the issue of the excluded tests to ACS-1297 (#2004)

* Reinclude tests excluded by ACA-4283

* Add click step in typeText method

* move click step before sendKeys

* browser sleep test

* test run

* Remove empty return string

* reinclude tests affected by ACA-4253

* remove browser.sleep

* reinclude one test

* Change the issue of the excluded tests
This commit is contained in:
Iulia Burcă 2021-03-01 16:23:06 +02:00 committed by GitHub
parent fc01c5c9a9
commit eb299dedba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,18 +1,18 @@
{ {
"C306956": "https://alfresco.atlassian.net/browse/ACA-4196", "C306956": "https://alfresco.atlassian.net/browse/ACA-4196",
"C325049": "https://alfresco.atlassian.net/browse/ACA-4219", "C325049": "https://alfresco.atlassian.net/browse/ACA-4219",
"C286326": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286656": "https://alfresco.atlassian.net/browse/ACA-4253", "C286656": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286689": "https://alfresco.atlassian.net/browse/ACA-4253", "C286689": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286691": "https://alfresco.atlassian.net/browse/ACA-4253", "C286691": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286686": "https://alfresco.atlassian.net/browse/ACA-4253", "C286686": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286697": "https://alfresco.atlassian.net/browse/ACA-4253", "C286697": "https://alfresco.atlassian.net/browse/ACA-4253",
"C325026": "https://alfresco.atlassian.net/browse/ACA-4253",
"C306996": "https://alfresco.atlassian.net/browse/ACA-4253", "C306996": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286685": "https://alfresco.atlassian.net/browse/ACA-4253", "C286685": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286688": "https://alfresco.atlassian.net/browse/ACA-4253", "C286688": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286696": "https://alfresco.atlassian.net/browse/ACA-4253", "C286696": "https://alfresco.atlassian.net/browse/ACA-4253",
"C286701": "https://alfresco.atlassian.net/browse/ACA-4253", "C286701": "https://alfresco.atlassian.net/browse/ACA-4253",
"C325161": "https://alfresco.atlassian.net/browse/ACA-4283", "C325161": "https://alfresco.atlassian.net/browse/ACS-1297",
"C325023": "https://alfresco.atlassian.net/browse/ACA-4283" "C325023": "https://alfresco.atlassian.net/browse/ACS-1297",
"C325026": "https://alfresco.atlassian.net/browse/ACS-1297",
"C286326": "https://alfresco.atlassian.net/browse/ACS-1297"
} }

View File

@ -69,7 +69,7 @@ export class NodesApi extends RepoApi {
async getNodeDescription(name: string, parentId: string): Promise<string> { async getNodeDescription(name: string, parentId: string): Promise<string> {
try { try {
const children = (await this.getNodeChildren(parentId)).list.entries; const children = (await this.getNodeChildren(parentId)).list.entries;
return children.find((elem) => elem.entry.name === name).entry.properties['cm:description'] || ''; return children.find((elem) => elem.entry.name === name).entry.properties['cm:description'];
} catch (error) { } catch (error) {
this.handleError(`${this.constructor.name} ${this.getNodeDescription.name}`, error); this.handleError(`${this.constructor.name} ${this.getNodeDescription.name}`, error);
return ''; return '';
@ -79,7 +79,7 @@ export class NodesApi extends RepoApi {
async getNodeTitle(name: string, parentId: string): Promise<string> { async getNodeTitle(name: string, parentId: string): Promise<string> {
try { try {
const children = (await this.getNodeChildren(parentId)).list.entries; const children = (await this.getNodeChildren(parentId)).list.entries;
return children.find((elem) => elem.entry.name === name).entry.properties['cm:title'] || ''; return children.find((elem) => elem.entry.name === name).entry.properties['cm:title'];
} catch (error) { } catch (error) {
this.handleError(`${this.constructor.name} ${this.getNodeTitle.name}`, error); this.handleError(`${this.constructor.name} ${this.getNodeTitle.name}`, error);
return ''; return '';