[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
2 changed files with 6 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ export class NodesApi extends RepoApi {
async getNodeDescription(name: string, parentId: string): Promise<string> {
try {
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) {
this.handleError(`${this.constructor.name} ${this.getNodeDescription.name}`, error);
return '';
@@ -79,7 +79,7 @@ export class NodesApi extends RepoApi {
async getNodeTitle(name: string, parentId: string): Promise<string> {
try {
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) {
this.handleError(`${this.constructor.name} ${this.getNodeTitle.name}`, error);
return '';