import { attribute, collection, create, text } from 'ember-cli-page-object';

const definition = create({
  scope: '[data-test-course-visualize-term]',
  title: text('[data-test-title]'),
  breadcrumb: {
    scope: '[data-test-breadcrumb]',
    crumbs: collection('span', {
      link: attribute('href', 'a'),
    }),
  },
});

export default definition;
export const component = create(definition);
