]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/api-docs.e2e-spec.ts
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / ui / api-docs.e2e-spec.ts
1 import { ApiDocsPageHelper } from 'cypress/integration/ui/api-docs.po';
2
3 describe('Api Docs Page', () => {
4 const apiDocs = new ApiDocsPageHelper();
5
6 beforeEach(() => {
7 cy.login();
8 Cypress.Cookies.preserveOnce('token');
9 apiDocs.navigateTo();
10 });
11
12 it('should show the API Docs description', () => {
13 cy.get('.renderedMarkdown').first().contains('This is the official Ceph REST API');
14 });
15 });