mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5235] Facet fix and improve search test (#6122)
* improve search test * fix * fix * fix * changes * modify * logout public URL * improve stability some e2e * fx lint * fix * fix * improve * fix * improve * fix * fix * fix * fix [skip ci] * fix * some fix [skip ci] * fix * fix lint * fix * fix * fix * fix * fix * fix * fix * fix * fix * convert C291893 in manual test case in testrail * fix * fix
This commit is contained in:
@@ -33,6 +33,7 @@ export class AttachmentListPage {
|
||||
}
|
||||
|
||||
async clickAttachFileButton(fileLocation: string): Promise<void> {
|
||||
await browser.sleep(500);
|
||||
await BrowserVisibility.waitUntilElementIsPresent(this.attachFileButton);
|
||||
await this.attachFileButton.sendKeys(path.resolve(path.join(browser.params.testConfig.main.rootPath, fileLocation)));
|
||||
}
|
||||
|
@@ -31,6 +31,7 @@ export class FiltersPage {
|
||||
await BrowserActions.closeMenuAndDialogs();
|
||||
const filter = element(by.css(`button[data-automation-id="${filterName}_filter"]`));
|
||||
await BrowserActions.click(filter);
|
||||
await this.dataTable.waitTillContentLoaded();
|
||||
}
|
||||
|
||||
async sortByName(sortOrder: string): Promise<void> {
|
||||
|
@@ -93,7 +93,7 @@ export class ProcessFiltersPage {
|
||||
}
|
||||
|
||||
async waitForTableBody(): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.tableBody);
|
||||
await this.dataTable.waitForTableBody();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -143,6 +143,10 @@ export class TaskDetailsPage {
|
||||
return BrowserActions.getInputValue(this.formNameField);
|
||||
}
|
||||
|
||||
async waitFormNameEqual(formName: string): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementHasValue(this.formNameField, formName);
|
||||
}
|
||||
|
||||
async clickForm(): Promise<void> {
|
||||
await BrowserActions.closeMenuAndDialogs();
|
||||
await BrowserActions.click(this.formNameButton);
|
||||
|
Reference in New Issue
Block a user