Skip to content

Commit ddeb8f6

Browse files
committed
fix: fix create workspace e2e
1 parent 2dd674a commit ddeb8f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/create-workspace.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ describe('Workspaces page', () => {
22
it('Displays create workspace button', () => {
33
cy.login();
44

5-
cy.intercept('GET', '**/api/rbac/v2/workspaces/', {
5+
cy.intercept('GET', '**/api/rbac/v2/workspaces/*', {
66
statusCode: 200,
77
body: { data: [], meta: {} },
88
}).as('getWorkspaces');
@@ -19,7 +19,7 @@ describe('Workspaces page', () => {
1919
it('Opens the create workspace wizard', () => {
2020
cy.login();
2121

22-
cy.intercept('GET', '**/api/rbac/v2/workspaces/', {
22+
cy.intercept('GET', '**/api/rbac/v2/workspaces/*', {
2323
statusCode: 200,
2424
body: { data: [], meta: {} },
2525
}).as('getWorkspaces');
@@ -39,7 +39,7 @@ describe('Workspaces page', () => {
3939
it('Closes the create workspace wizard on cancel', () => {
4040
cy.login();
4141

42-
cy.intercept('GET', '**/api/rbac/v2/workspaces/', {
42+
cy.intercept('GET', '**/api/rbac/v2/workspaces/*', {
4343
statusCode: 200,
4444
body: { data: [], meta: {} },
4545
}).as('getWorkspaces');

0 commit comments

Comments
 (0)