Skip to content

Commit

Permalink
enable some e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Mesgin authored and Mo Mesgin committed Sep 3, 2024
1 parent c0623cb commit f4a4596
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/tests/pages/manager/cluster-manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ describe('Cluster Manager', { testIsolation: 'off', tags: ['@manager', '@adminUs
clusterDashboard.waitForPage(undefined, 'cluster-events');
});

it.skip('[Vue3 Skip]: can download YAML via bulk actions', () => {
it('can download YAML via bulk actions', () => {
// Delete downloads directory. Need a fresh start to avoid conflicting file names
cy.deleteDownloadsFolder();

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/tests/pages/manager/kontainer-drivers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('Kontainer Drivers', { testIsolation: 'off', tags: ['@manager', '@admin
createCluster.gridElementExistanceByName(linodeDriver, 'exist');
});

it.skip('[Vue3 Skip]: can deactivate drivers in bulk', () => {
it('can deactivate drivers in bulk', () => {
KontainerDriversPagePo.navTo();
driversPage.waitForPage();
driversPage.list().details(oracleDriver, 1).should('contain', 'Active');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe('MachineDeployments', { testIsolation: 'off', tags: ['@manager', '@admi
cy.contains(`${ this.machineDeploymentsName }-clone`).should('not.exist');
});

it.skip('[Vue3 Skip]: can delete MachineDeployments via bulk actions', function() {
it('can delete MachineDeployments via bulk actions', function() {
MachineDeploymentsPagePo.navTo();
machineDeploymentsPage.waitForPage();

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/tests/pages/manager/machine-sets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('MachineSets', { testIsolation: 'off', tags: ['@manager', '@adminUser']
cy.contains(`${ this.machineDeploymentsName }-clone`).should('not.exist');
});

it.skip('[Vue3 Skip]: can delete MachineSet via bulk actions', function() {
it('can delete MachineSet via bulk actions', function() {
MachineSetsPagePo.navTo();
machineSetsPage.waitForPage();

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/tests/pages/manager/repositories.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ describe('Cluster Management Helm Repositories', { testIsolation: 'off', tags: [
repositoriesPage.list().details(`${ this.repoName }ssh`, 1).contains('Active').should('be.visible');
});

it.skip('[Vue3 Skip]: can delete repositories via bulk actions', function() {
it('can delete repositories via bulk actions', function() {
ChartRepositoriesPagePo.navTo();
repositoriesPage.waitForPage();

Expand Down
6 changes: 3 additions & 3 deletions cypress/e2e/tests/pages/users-and-auth/users.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ describe('Users', { tags: ['@usersAndAuths', '@adminUser'] }, () => {
viewYaml.mastheadTitle().should('contain', standardUsername);
});

it.skip('[Vue3 Skip]: can Download YAML', () => {
it('can Download YAML', () => {
// Download YAML and verify file exists
const downloadedFilename = path.join(downloadsFolder, `${ standardUsername }.yaml`);

Expand All @@ -202,7 +202,7 @@ describe('Users', { tags: ['@usersAndAuths', '@adminUser'] }, () => {
});
});

it.skip('[Vue3 Skip]: can Delete user', () => {
it('can Delete user', () => {
// Delete user and verify user is removed from list
usersPo.goTo();
usersPo.list().clickRowActionMenuItem(standardUsername, 'Delete');
Expand All @@ -217,7 +217,7 @@ describe('Users', { tags: ['@usersAndAuths', '@adminUser'] }, () => {
});
});

describe.skip('[Vue3 Skip]: Bulk Actions', () => {
describe('Bulk Actions', () => {
it('can Deactivate and Activate users', () => {
// Deactivate user and check state is Inactive
cy.intercept('PUT', '/v3/users/*').as('updateUsers');
Expand Down

0 comments on commit f4a4596

Please sign in to comment.