testokur/testokur-ui

View on GitHub
cypress/integration/Divider.ts

Summary

Maintainability
B
4 hrs
Test Coverage
describe('Divider', () => {
  before(() => {
    cy.visitStorybook();
  });

  context('given the Divider story is rendered', () => {
    beforeEach(() => {
      cy.loadStory('divider', 'default');
    });

    it('should render divider', () => {
      cy.get('hr').should('exist');
      cy.percySnapshot('Divider');
    });
  });
});