blob: 3e0aa9efd766a53dbd2de591844b697c87d4c7b2 [file] [log] [blame]
ys969316a9fce2020-01-19 13:50:02 +02001import {initCommonFixtures} from "../common/init";
2
3describe('Catalog Screen', () => {
4 beforeEach(() => {
5 cy.server();
6 initCommonFixtures(cy);
7
8 // Followed Resources for the dashboard screen
9 cy.fixture('catalog/catalog').as('catalog');
10 cy.route('GET', '**/catalog?*', '@catalog');
11 });
12
13 it('Test that only In Design/Distributed/Certify appears in catalog left panel filters', function () {
14 const catalogPageUrl = '#!/catalog?*';
15 cy.visit(catalogPageUrl);
16
17 cy.get('[data-tests-id="checklist-status-in-design"]').should('exist');
18 cy.get('[data-tests-id="checklist-status-certified"]').should('exist');
19 cy.get('[data-tests-id="checklist-status-distributed"]').should('exist');
20 });
21});