import { ChainableElement } from '../../common/types' ; export default class UdHistoryPage { udRootUrl : string ; constructor ( udRootUrl ) { this . udRootUrl = udRootUrl ; } get userName ( ) : ChainableElement { return cy . get ( '#page-container h2' ) ; } checkIsVisible ( ) { cy . url ( ) . should ( 'includes' , `${ this . udRootUrl }/history` ) ; } todo get traces ( ) : ChainableElement { return cy . get ( '.mt40 [class^=card]' ) ; } }