summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/api-docs.e2e-spec.ts
blob: 52994859e249551e240d04cb4c2558a0cd64cc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { ApiDocsPageHelper } from '../ui/api-docs.po';

describe('Api Docs Page', () => {
  const apiDocs = new ApiDocsPageHelper();

  beforeEach(() => {
    cy.login();
    Cypress.Cookies.preserveOnce('token');
    apiDocs.navigateTo();
  });

  it('should show the API Docs description', () => {
    cy.get('.renderedMarkdown').first().contains('This is the official Ceph REST API');
  });
});