Skip to content

Commit

Permalink
revert lines
Browse files Browse the repository at this point in the history
Signed-off-by: Qxisylolo <[email protected]>
  • Loading branch information
Qxisylolo committed Nov 18, 2024
1 parent 94fa4af commit 74ffac7
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ let workspace2Id;
if (Cypress.env('WORKSPACE_ENABLED')) {
describe('Delete Workspace(s) in 2 ways in workspace list page', () => {
before(() => {
cy.deleteAllWorkspaces();
cy.deleteWorkspaceByName(workspace1Name);
cy.deleteWorkspaceByName(workspace2Name);
});
beforeEach(() => {
// Visit workspace list page
miscUtils.visitPage(`/app/workspace_list`);
cy.createWorkspace({
name: workspace1Name,
description: workspace1Description,
Expand Down Expand Up @@ -54,10 +53,13 @@ if (Cypress.env('WORKSPACE_ENABLED')) {
'deleteWorkspace2Request'
);
});
// Visit workspace list page
miscUtils.visitPage(`/app/workspace_list`);
});

afterEach(() => {
cy.deleteAllWorkspaces();
cy.deleteWorkspaceByName(workspace1Name);
cy.deleteWorkspaceByName(workspace2Name);
});

describe('delete a workspace successfully using action buttons', () => {
Expand Down

0 comments on commit 74ffac7

Please sign in to comment.