]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/cypress/e2e/common/create-cluster/create-cluster.feature.po.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / e2e / common / create-cluster / create-cluster.feature.po.ts
CommitLineData
2a845540
TL
1import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
2
3Given('I am on the {string} section', (page: string) => {
4 cy.get('cd-wizard').within(() => {
5 cy.get('.nav-link').should('contain.text', page).first().click();
6 cy.get('.nav-link.active').should('contain.text', page);
7 });
8});
9
10Then('I should see a message {string}', () => {
11 cy.get('cd-create-cluster').should('contain.text', 'Please expand your cluster first');
12});