Skip to content

Commit

Permalink
tests: fix pv test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrCherry97 committed Aug 22, 2024
1 parent 19b4ca9 commit 13bd032
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ context('Test Persistent Volumes', () => {
it('Create PV with CSI', () => {
cy.openCreate().click();

cy.wrap(loadPV(PV_CSI_NAME, 'test-persistent-volume-NFS.yaml')).then(
cy.wrap(loadPV(PV_CSI_NAME, 'test-persistent-volume-CSI.yaml')).then(
PV_CONFIG => {
const PV = JSON.stringify(PV_CONFIG);
cy.pasteToMonaco(PV);
Expand All @@ -110,6 +110,10 @@ context('Test Persistent Volumes', () => {
.contains('Filesystem')
.should('be.visible');

cy.getMidColumn()
.contains('Retain')
.should('be.visible');

cy.getMidColumn()
.contains('ext4')
.should('be.visible');
Expand Down

0 comments on commit 13bd032

Please sign in to comment.