Skip to content

Commit

Permalink
fix: the typo in test case description
Browse files Browse the repository at this point in the history
Signed-off-by: andy.lee <[email protected]>
  • Loading branch information
a110605 committed May 7, 2024
1 parent a5f03e4 commit dd9e4be
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions cypress/testcases/backupAndSnapshot/vmBackup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('VM Backup Validation', () => {
createVMBackupSuccess = true
})

it('Resotre New VM from vm backup', () => {
it('Restore new VM from vm backup', () => {
onlyOn(createVMBackupSuccess);

const newVMName = 'create-new-from-backup';
Expand All @@ -63,7 +63,7 @@ describe('VM Backup Validation', () => {
vms.deleteVMFromStore(`default/${newVMName}`);
})

it('Resotre New VM in another namespace from vm backup', () => {
it('Restore New VM in another namespace from vm backup', () => {
onlyOn(createVMBackupSuccess);

const newVMName = 'create-new-from-backup';
Expand All @@ -77,7 +77,7 @@ describe('VM Backup Validation', () => {
vms.deleteVMFromStore(`default/${newVMName}`);
})

it('Resotre Existing VM from vm backup', () => {
it('Restore Existing VM from vm backup', () => {
onlyOn(createVMBackupSuccess);

vms.goToList();
Expand All @@ -91,7 +91,7 @@ describe('VM Backup Validation', () => {
vms.deleteVMFromStore(`default/test`);
})

it('delete backup', () => {
it('Delete backup', () => {
onlyOn(createVMBackupSuccess);

vmBackups.goToList();
Expand Down
6 changes: 3 additions & 3 deletions cypress/testcases/backupAndSnapshot/vmSnapshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('VM snapshot Form Validation', () => {
cy.login({url: PageUrl.virtualMachine});
});

it('Take a vm snaphost from vm', () => {
it('Take a vm snapshot from vm', () => {
// Create a vm to test the snapshot operation
const namespace = 'default';

Expand Down Expand Up @@ -47,7 +47,7 @@ describe('VM snapshot Form Validation', () => {
createVMSnapshotSuccess = true
})

it('Resotre New VM from vm snapshot', () => {
it('Restore New VM from vm snapshot', () => {
onlyOn(createVMSnapshotSuccess);

const newVMName = 'create-new-from-snapshot';
Expand All @@ -61,7 +61,7 @@ describe('VM snapshot Form Validation', () => {
vms.deleteVMFromStore(`default/${newVMName}`);
})

it('Resotre Existing VM from vm snapshot', () => {
it('Restore Existing VM from vm snapshot', () => {
onlyOn(createVMSnapshotSuccess);

vms.goToList();
Expand Down
2 changes: 1 addition & 1 deletion cypress/testcases/backupAndSnapshot/volumeSnapshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Validation volume snapshot', () => {
createVolumeSnapshotSuccess = true
})

it('Resotre New volume from volume snapshot', () => {
it('Restore New volume from volume snapshot', () => {
onlyOn(createVolumeSnapshotSuccess);

const newName = 'create-new-from-snapshot';
Expand Down
4 changes: 2 additions & 2 deletions cypress/testcases/dashboard/0_FirstTimeLogin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("First Time Login Page", () => {
});

context("Set Password", () => {
specify("Password inconsistant", () => {
specify("Password inconsistent", () => {
onlyOn(isFirstTimeLogin);
const page = new LoginPage();
page.visit();
Expand All @@ -52,7 +52,7 @@ describe("First Time Login Page", () => {

});

specify("Password consistant", () => {
specify("Password consistent", () => {
onlyOn(isFirstTimeLogin);
const page = new LoginPage();
page.visit();
Expand Down
2 changes: 1 addition & 1 deletion cypress/testcases/dashboard/support.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("Support Page", () => {
})
})

context('Generate Support Bundle', () => {
context.only('Generate Support Bundle', () => {
it('is required to input Description', () => {
page.generateSupportBundleBtn.click()

Expand Down
2 changes: 1 addition & 1 deletion cypress/testcases/virtualmachines/virtual-machine.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('VM runStategy Validation (Halted)', () => {

const namespace = 'default'

it('Craete VM use Halted (Run Strategy)', () => {
it('Create VM use Halted (Run Strategy)', () => {
vms.goToCreate();

const imageEnv = Cypress.env('image');
Expand Down

0 comments on commit dd9e4be

Please sign in to comment.