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

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

  beforeEach(() => {
    cy.login();
    apiDocs.navigateTo();
  });

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