Catalog alignment
[sdc.git] / catalog-ui / cypress / integration / catalog.spec.js
1 import {initCommonFixtures} from "../common/init";
2
3 describe('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 });