Skip to content

Commit

Permalink
Fix duplicate creation
Browse files Browse the repository at this point in the history
Signed-off-by: Kapian1234 <[email protected]>
  • Loading branch information
Kapian1234 committed Nov 11, 2024
1 parent 3e89f42 commit 548897e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ if (Cypress.env('WORKSPACE_ENABLED')) {
});

it('should successfully create a workspace from home page', () => {
cy.deleteWorkspaceByName(workspaceName);
miscUtils.visitPage('app/workspace_initial');
cy.getElementByTestId(
'workspace-initial-card-createWorkspace-button'
Expand Down Expand Up @@ -144,7 +145,8 @@ if (Cypress.env('WORKSPACE_ENABLED')) {
});
});

it('should successfully jump to collaborators page create a workspace after creating a workspace', () => {
it('should successfully jump to collaborators page after creating a workspace', () => {
cy.deleteWorkspaceByName(workspaceName);
inputWorkspaceName(workspaceName);
inputDataSourceWhenMDSEnabled(dataSourceTitle);
cy.getElementByTestId('workspaceForm-bottomBar-createButton').click({
Expand All @@ -163,7 +165,7 @@ if (Cypress.env('WORKSPACE_ENABLED')) {
});
});

it('should correctly display create a workspace', () => {
it('should correctly display the summary card', () => {
inputWorkspaceName(workspaceName);
cy.getElementByTestId(
'workspaceForm-workspaceDetails-descriptionInputText'
Expand Down

0 comments on commit 548897e

Please sign in to comment.