Skip to content

Commit

Permalink
fix cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
aliraza556 committed Jan 3, 2025
1 parent 06fbcc7 commit 0623ee3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/23_editWorkspaceDetails.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ describe('Edit Workspace Details', () => {
website: 'https://updated.org'
};

before(() => {
it('should edit workspace details successfully', () => {
cy.login(workspace.loggedInAs);
cy.wait(1000);

cy.contains(workspace.loggedInAs).click();
cy.wait(1000);

cy.create_workspace(workspace);
cy.wait(1000);
});

it('should edit workspace details successfully', () => {
cy.contains(workspace.name).get(`[data-work-name="${workspace.name}"]`).click();
cy.wait(1000);

Expand Down
4 changes: 0 additions & 4 deletions cypress/e2e/42_rolesWithdrawWorkspace.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ describe('Withdraw From Workspace Role Test', () => {
github: 'https://github.com/amazing'
};

beforeEach(() => {
cy.clearCookies();
});

it('should allow a user with a Withdraw From Workspace role to withdraw from the workspace', () => {
cy.login(workspace.loggedInAs);
cy.wait(1000);
Expand Down
4 changes: 0 additions & 4 deletions cypress/e2e/43_rolesFundWorkspace.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ describe('Fund Workspace Role Test', () => {
github: 'https://github.com/amazing'
};

beforeEach(() => {
cy.clearCookies();
});

it('Should allow a user with a Fund Workspave role to deposit into the workspace', () => {
cy.login(workspace.loggedInAs);
cy.wait(1000);
Expand Down

0 comments on commit 0623ee3

Please sign in to comment.