Skip to content

Commit

Permalink
Fix cluster api mock routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Jul 1, 2024
1 parent f2f9b6b commit 0b34e5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
12 changes: 1 addition & 11 deletions tests/integration/storageState.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
{
"cookies": [],
"origins": [
{
"origin": "http://localhost:3333",
"localStorage": [
{
"name": "locale",
"value": "en-US"
}
]
}
]
"origins": []
}
2 changes: 1 addition & 1 deletion tests/test-utilities/mocks/namespace.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Page } from '@playwright/test';

export const NAMESPACE_API = '**/namespaces/*?';
export const NAMESPACE_API = '**/cluster/namespaces/*?';

const MOCK_ARCHIVED_NAMESPACE = {
namespaceInfo: {
Expand Down
2 changes: 1 addition & 1 deletion tests/test-utilities/mocks/namespaces.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Page } from '@playwright/test';

export const NAMESPACES_API = '**/namespaces?';
export const NAMESPACES_API = '**/cluster/namespaces?';

const MOCK_NAMESPACES = {
namespaces: [
Expand Down
3 changes: 2 additions & 1 deletion tests/test-utilities/mocks/search-attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import type { Page } from '@playwright/test';

import type { SearchAttributesResponse } from '$src/lib/types/workflows';

export const SEARCH_ATTRIBUTES_API = '**/namespaces/*/search-attributes?';
export const SEARCH_ATTRIBUTES_API =
'**/cluster/namespaces/*/search-attributes?';

const MOCK_SEARCH_ATTRIBUTES: SearchAttributesResponse = {
systemAttributes: {
Expand Down

0 comments on commit 0b34e5e

Please sign in to comment.