import Base from 'web-client/tests/pages/base';

export default Base.extend({
  _url: '/directory/videos',

  videosTitle(text = 'Videos') {
    return this.title(text);
  },

  directoryGridVideoThumbs() {
    return '.js-videos-list .video.item';
  },

  carouselVideos() {
    return `.card-carousel .video.item`;
  },

  thumbLink(videoUrl) {
    return `.js-videos-list .video.item a[href="${videoUrl}"]`;
  },

  hasProgressBar() {
    return this.isFound('.progress-bar');
  }
});
