mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3962] sso download directive automated (#4452)
* sso download directive automated * temp changes * temp changes * moving of services under lib testing and ADF-3962 automated * removed the browser sleep * cspell and linting fixes. * codacy improvements * export public-api update * remove circular dep * remove circular dep * fixes * fix user info test * fix datatable * random commit * move other string * fix lint * fix lint * fix prolem type * fix failing test * fix tag test * fix problems after rebase * fix lint * remove space * remove visibility method duplicated
This commit is contained in:
committed by
Eugenio Romano
parent
89f612bbb0
commit
4376d357ac
@@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Util } from '../../util/util';
|
||||
import { DataTableComponentPage } from './dataTableComponentPage';
|
||||
import { SearchSortingPickerPage } from './content-services/search/components/search-sortingPicker.page';
|
||||
import { element, by } from 'protractor';
|
||||
import { ContentServicesPage } from './contentServicesPage';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
|
||||
export class SearchResultsPage {
|
||||
|
||||
@@ -38,9 +38,9 @@ export class SearchResultsPage {
|
||||
|
||||
closeActionButton() {
|
||||
const container = element(by.css('div.cdk-overlay-backdrop.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing'));
|
||||
Util.waitUntilElementIsVisible(container);
|
||||
BrowserVisibility.waitUntilElementIsVisible(container);
|
||||
container.click();
|
||||
Util.waitUntilElementIsNotVisible(container);
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(container);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -59,12 +59,12 @@ export class SearchResultsPage {
|
||||
}
|
||||
|
||||
checkNoResultMessageIsDisplayed() {
|
||||
Util.waitUntilElementIsVisible(this.noResultsMessage);
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.noResultsMessage);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkNoResultMessageIsNotDisplayed() {
|
||||
Util.waitUntilElementIsNotOnPage(this.noResultsMessage);
|
||||
BrowserVisibility.waitUntilElementIsNotOnPage(this.noResultsMessage);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user