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