import { ChainableElement } from '../../common/types' ; export default class IdentityProviderSelectionPage { get backToServiceProviderLink ( ) : ChainableElement { return cy . get ( '.previous-link-container' ) ; } checkIsVisible ( ) { cy . url ( ) . should ( 'include' , `/api/v2/interaction` ) ; } searchIdentityProvider ( terms ) { cy . get ( '#fi-search-term' ) . clear ( ) . type ( terms ) ; } getIdpButton ( idpId ) { return cy . get ( `#idp-${ idpId }-button` ) ; } }