From 2afda2a14a6e79ed6ea748681eb7e7a2a6cb031d Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Fri, 1 Nov 2024 10:00:24 +0000 Subject: [PATCH] because why not --- cypress/e2e/blueprints/blueprint.utils.ts | 1 + .../cluster_management/pod-security-admissions-payload.ts | 2 +- cypress/e2e/blueprints/explorer/cluster/events.ts | 2 +- cypress/e2e/blueprints/explorer/core/service-accounts-get.ts | 2 +- cypress/e2e/blueprints/explorer/fleet/contents-get.ts | 2 +- .../more-resources/api/custom-resource-definition-get.ts | 2 +- .../e2e/blueprints/explorer/rbac/cluster-role-bindings-get.ts | 2 +- cypress/e2e/blueprints/explorer/rbac/cluster-roles-get.ts | 2 +- cypress/e2e/blueprints/explorer/rbac/role-bindings-get.ts | 2 +- cypress/e2e/blueprints/explorer/rbac/roles-get.ts | 2 +- .../blueprints/explorer/storage/persistent-volume-claims-get.ts | 2 +- .../e2e/blueprints/explorer/storage/persistent-volumes-get.ts | 2 +- cypress/e2e/blueprints/explorer/storage/storage-classes-get.ts | 2 +- .../explorer/workloads/deployments/deployment-create.ts | 2 +- .../blueprints/explorer/workloads/deployments/deployment-get.ts | 2 +- .../blueprints/explorer/workloads/deployments/deplyment-list.ts | 2 +- cypress/e2e/blueprints/explorer/workloads/pods/pods-get.ts | 2 +- .../service-discovery/horizontal-pod-autoscalers-get.ts | 2 +- .../explorer/workloads/service-discovery/ingresses-get.ts | 2 +- .../explorer/workloads/service-discovery/services-get.ts | 2 +- cypress/e2e/blueprints/fleet/cluster-registration-tokens-get.ts | 2 +- cypress/e2e/blueprints/fleet/workspaces-get.ts | 2 +- cypress/e2e/blueprints/global_settings/home-links-response.ts | 2 +- .../manager/digital-ocean-cluster-provisioning-response.ts | 2 +- cypress/e2e/blueprints/manager/machine-pool-config-response.ts | 2 +- cypress/e2e/blueprints/nav/edit-cluster.ts | 2 +- cypress/e2e/blueprints/nav/fake-cluster.ts | 2 +- cypress/e2e/blueprints/other-products/opa-gatekeeper.js | 2 +- cypress/e2e/blueprints/other-products/v2-monitoring.js | 2 +- cypress/e2e/blueprints/roles/global-roles-get.ts | 2 +- cypress/e2e/blueprints/users/users-get.ts | 2 +- cypress/e2e/tests/pages/explorer/dashboard/certificates.spec.ts | 2 +- cypress/e2e/tests/pages/manager/mock-responses.ts | 2 +- 33 files changed, 33 insertions(+), 32 deletions(-) create mode 100644 cypress/e2e/blueprints/blueprint.utils.ts diff --git a/cypress/e2e/blueprints/blueprint.utils.ts b/cypress/e2e/blueprints/blueprint.utils.ts new file mode 100644 index 00000000000..e6ac6cae1da --- /dev/null +++ b/cypress/e2e/blueprints/blueprint.utils.ts @@ -0,0 +1 @@ +export const CYPRESS_SAFE_RESOURCE_REVISION = 999999999; diff --git a/cypress/e2e/blueprints/cluster_management/pod-security-admissions-payload.ts b/cypress/e2e/blueprints/cluster_management/pod-security-admissions-payload.ts index 32af062ad07..03013093d8c 100644 --- a/cypress/e2e/blueprints/cluster_management/pod-security-admissions-payload.ts +++ b/cypress/e2e/blueprints/cluster_management/pod-security-admissions-payload.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; export const createPayloadData = { id: 'e2e-pod-security-admission-1705617529465', diff --git a/cypress/e2e/blueprints/explorer/cluster/events.ts b/cypress/e2e/blueprints/explorer/cluster/events.ts index d5c161f60f6..0d2ef6a86a9 100644 --- a/cypress/e2e/blueprints/explorer/cluster/events.ts +++ b/cypress/e2e/blueprints/explorer/cluster/events.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/events - return empty events data const eventsGetEmptyEventsSet = { diff --git a/cypress/e2e/blueprints/explorer/core/service-accounts-get.ts b/cypress/e2e/blueprints/explorer/core/service-accounts-get.ts index fc4b6782609..3b3d9226e17 100644 --- a/cypress/e2e/blueprints/explorer/core/service-accounts-get.ts +++ b/cypress/e2e/blueprints/explorer/core/service-accounts-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/serviceaccounts - return empty service accounts data const serviceAccGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/fleet/contents-get.ts b/cypress/e2e/blueprints/explorer/fleet/contents-get.ts index ca271b2dc71..d48ac3cb231 100644 --- a/cypress/e2e/blueprints/explorer/fleet/contents-get.ts +++ b/cypress/e2e/blueprints/explorer/fleet/contents-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/fleet.cattle.io.contents - return empty contents data const fleetContentsGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/more-resources/api/custom-resource-definition-get.ts b/cypress/e2e/blueprints/explorer/more-resources/api/custom-resource-definition-get.ts index 74faa2d45aa..9a4e4c6c775 100644 --- a/cypress/e2e/blueprints/explorer/more-resources/api/custom-resource-definition-get.ts +++ b/cypress/e2e/blueprints/explorer/more-resources/api/custom-resource-definition-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; // GET /v1/apiextensions.k8s.io.customresourcedefinitions - small set of crds data const crdsGetResponseSmallSet = { diff --git a/cypress/e2e/blueprints/explorer/rbac/cluster-role-bindings-get.ts b/cypress/e2e/blueprints/explorer/rbac/cluster-role-bindings-get.ts index 2f2f5926c88..cabd973eec5 100644 --- a/cypress/e2e/blueprints/explorer/rbac/cluster-role-bindings-get.ts +++ b/cypress/e2e/blueprints/explorer/rbac/cluster-role-bindings-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/rbac.authorization.k8s.io.clusterrolebinding - return empty cluster role binding data const clusterRoleBindingGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/rbac/cluster-roles-get.ts b/cypress/e2e/blueprints/explorer/rbac/cluster-roles-get.ts index 2da56ea0744..ae554d62fe0 100644 --- a/cypress/e2e/blueprints/explorer/rbac/cluster-roles-get.ts +++ b/cypress/e2e/blueprints/explorer/rbac/cluster-roles-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/rbac.authorization.k8s.io.clusterrolebinding - return empty cluster roles data const clusterRolesGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/rbac/role-bindings-get.ts b/cypress/e2e/blueprints/explorer/rbac/role-bindings-get.ts index c3d04a42719..62c88453890 100644 --- a/cypress/e2e/blueprints/explorer/rbac/role-bindings-get.ts +++ b/cypress/e2e/blueprints/explorer/rbac/role-bindings-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/rbac.authorization.k8s.io.rolebindings- return empty role binding data const roleBindingGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/rbac/roles-get.ts b/cypress/e2e/blueprints/explorer/rbac/roles-get.ts index 6708a873a37..25181d3d231 100644 --- a/cypress/e2e/blueprints/explorer/rbac/roles-get.ts +++ b/cypress/e2e/blueprints/explorer/rbac/roles-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/rbac.authorization.k8s.io.roles - return empty roles data const rolesGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/storage/persistent-volume-claims-get.ts b/cypress/e2e/blueprints/explorer/storage/persistent-volume-claims-get.ts index ac17f553784..deed8ff5485 100644 --- a/cypress/e2e/blueprints/explorer/storage/persistent-volume-claims-get.ts +++ b/cypress/e2e/blueprints/explorer/storage/persistent-volume-claims-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/persistentvolumeclaim- return empty persistentvolumeclaims data const persistentvolumeclaimsGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/storage/persistent-volumes-get.ts b/cypress/e2e/blueprints/explorer/storage/persistent-volumes-get.ts index 567e77e8465..4db44a01697 100644 --- a/cypress/e2e/blueprints/explorer/storage/persistent-volumes-get.ts +++ b/cypress/e2e/blueprints/explorer/storage/persistent-volumes-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/persistentvolumes- return empty persistentvolumes data const persistentvolumesGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/storage/storage-classes-get.ts b/cypress/e2e/blueprints/explorer/storage/storage-classes-get.ts index bc05698581d..23f4aba4932 100644 --- a/cypress/e2e/blueprints/explorer/storage/storage-classes-get.ts +++ b/cypress/e2e/blueprints/explorer/storage/storage-classes-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../blueprint.utils'; // GET /v1/storage.k8s.io.storageclasses- return empty storageclasses data const pstorageclassesGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-create.ts b/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-create.ts index fd5b64d5ca5..401b76a25cb 100644 --- a/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-create.ts +++ b/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-create.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; export const createDeploymentBlueprint = { apiVersion: 'apps/v1', diff --git a/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-get.ts b/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-get.ts index 3b2dde12577..50b0329fe33 100644 --- a/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-get.ts +++ b/cypress/e2e/blueprints/explorer/workloads/deployments/deployment-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; export const deploymentGetResponse = { id: 'default/test-deployment', diff --git a/cypress/e2e/blueprints/explorer/workloads/deployments/deplyment-list.ts b/cypress/e2e/blueprints/explorer/workloads/deployments/deplyment-list.ts index e1285ffb942..5f3ef26fc8e 100644 --- a/cypress/e2e/blueprints/explorer/workloads/deployments/deplyment-list.ts +++ b/cypress/e2e/blueprints/explorer/workloads/deployments/deplyment-list.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; export const deploymentCollection = { type: 'collection', diff --git a/cypress/e2e/blueprints/explorer/workloads/pods/pods-get.ts b/cypress/e2e/blueprints/explorer/workloads/pods/pods-get.ts index f4be057043c..f1d63e32cdc 100644 --- a/cypress/e2e/blueprints/explorer/workloads/pods/pods-get.ts +++ b/cypress/e2e/blueprints/explorer/workloads/pods/pods-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; // GET /v1/pods - small set of pods data const podsGetResponseSmallSet = { diff --git a/cypress/e2e/blueprints/explorer/workloads/service-discovery/horizontal-pod-autoscalers-get.ts b/cypress/e2e/blueprints/explorer/workloads/service-discovery/horizontal-pod-autoscalers-get.ts index bc7b4bb06e7..51b7b030c25 100644 --- a/cypress/e2e/blueprints/explorer/workloads/service-discovery/horizontal-pod-autoscalers-get.ts +++ b/cypress/e2e/blueprints/explorer/workloads/service-discovery/horizontal-pod-autoscalers-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; // GET /v1/autoscaling.horizontalpodautoscalers - return empty horizontalpodautoscalers data const horizontalpodautoscalerGetResponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/workloads/service-discovery/ingresses-get.ts b/cypress/e2e/blueprints/explorer/workloads/service-discovery/ingresses-get.ts index 4cd47405362..037e4eb4e09 100644 --- a/cypress/e2e/blueprints/explorer/workloads/service-discovery/ingresses-get.ts +++ b/cypress/e2e/blueprints/explorer/workloads/service-discovery/ingresses-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; // GET /v1/networking.k8s.io.ingresses - return empty ingresses data const ingressesGetReponseEmpty = { diff --git a/cypress/e2e/blueprints/explorer/workloads/service-discovery/services-get.ts b/cypress/e2e/blueprints/explorer/workloads/service-discovery/services-get.ts index b5312a4b4f3..5b4edc0f6f4 100644 --- a/cypress/e2e/blueprints/explorer/workloads/service-discovery/services-get.ts +++ b/cypress/e2e/blueprints/explorer/workloads/service-discovery/services-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../../../blueprint.utils'; // GET /v1/services - return empty services data const servicesGetReponseEmpty = { diff --git a/cypress/e2e/blueprints/fleet/cluster-registration-tokens-get.ts b/cypress/e2e/blueprints/fleet/cluster-registration-tokens-get.ts index 9f027fbcc0f..13725a084e1 100644 --- a/cypress/e2e/blueprints/fleet/cluster-registration-tokens-get.ts +++ b/cypress/e2e/blueprints/fleet/cluster-registration-tokens-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // GET /v1/fleet.cattle.io.clusterregistrationtokens - return empty clusterregistrationtokens data const clusterRegistrationTokensGetReponseEmpty = { diff --git a/cypress/e2e/blueprints/fleet/workspaces-get.ts b/cypress/e2e/blueprints/fleet/workspaces-get.ts index 7f54d23387d..ca55a53d013 100644 --- a/cypress/e2e/blueprints/fleet/workspaces-get.ts +++ b/cypress/e2e/blueprints/fleet/workspaces-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // GET /v1/management.cattle.io.fleetworkspaces - small set of fleet workspaces data const fleetworkspacesGetResponseSmallSet = { diff --git a/cypress/e2e/blueprints/global_settings/home-links-response.ts b/cypress/e2e/blueprints/global_settings/home-links-response.ts index 620d0aeda82..989b8bf3e86 100644 --- a/cypress/e2e/blueprints/global_settings/home-links-response.ts +++ b/cypress/e2e/blueprints/global_settings/home-links-response.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; export function applyCustomLinksResponse(customLinkName: string, customLinkUrl:string):object { return { diff --git a/cypress/e2e/blueprints/manager/digital-ocean-cluster-provisioning-response.ts b/cypress/e2e/blueprints/manager/digital-ocean-cluster-provisioning-response.ts index 02fe3d1b809..0ea06f9de0a 100644 --- a/cypress/e2e/blueprints/manager/digital-ocean-cluster-provisioning-response.ts +++ b/cypress/e2e/blueprints/manager/digital-ocean-cluster-provisioning-response.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; export function clusterProvDigitalOceanSingleResponse(clusterName: string, cloudCredName: string, machinePoolId: string):object { return { diff --git a/cypress/e2e/blueprints/manager/machine-pool-config-response.ts b/cypress/e2e/blueprints/manager/machine-pool-config-response.ts index be92e98de21..ab86dc70ed1 100644 --- a/cypress/e2e/blueprints/manager/machine-pool-config-response.ts +++ b/cypress/e2e/blueprints/manager/machine-pool-config-response.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; export function machinePoolConfigResponse(clusterName:string, machinePoolId:string ):object { return { diff --git a/cypress/e2e/blueprints/nav/edit-cluster.ts b/cypress/e2e/blueprints/nav/edit-cluster.ts index 8605f3ea237..fb90d99f6bb 100644 --- a/cypress/e2e/blueprints/nav/edit-cluster.ts +++ b/cypress/e2e/blueprints/nav/edit-cluster.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // /v1/management.cattle.io.nodedrivers?* export function generateFakeNodeDriversReply():any { diff --git a/cypress/e2e/blueprints/nav/fake-cluster.ts b/cypress/e2e/blueprints/nav/fake-cluster.ts index 23464f6fb4f..8391e69528d 100644 --- a/cypress/e2e/blueprints/nav/fake-cluster.ts +++ b/cypress/e2e/blueprints/nav/fake-cluster.ts @@ -14,7 +14,7 @@ import { generateFakeSecretsReply } from './edit-cluster.ts'; -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // GENERAL DATA NOT CONFIGURABLE, for now... const MACHINE_POOL_ID = '995mj'; diff --git a/cypress/e2e/blueprints/other-products/opa-gatekeeper.js b/cypress/e2e/blueprints/other-products/opa-gatekeeper.js index 41b07170e2a..061a93e150d 100644 --- a/cypress/e2e/blueprints/other-products/opa-gatekeeper.js +++ b/cypress/e2e/blueprints/other-products/opa-gatekeeper.js @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; const k8sSchemas = [ { diff --git a/cypress/e2e/blueprints/other-products/v2-monitoring.js b/cypress/e2e/blueprints/other-products/v2-monitoring.js index b50c5fde06b..ad2709ea198 100644 --- a/cypress/e2e/blueprints/other-products/v2-monitoring.js +++ b/cypress/e2e/blueprints/other-products/v2-monitoring.js @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // GET /k8s/clusters/local/v1/monitoring.coreos.com.podmonitors const podMonitorsGet = { diff --git a/cypress/e2e/blueprints/roles/global-roles-get.ts b/cypress/e2e/blueprints/roles/global-roles-get.ts index 058c34fe357..43cb057d39b 100644 --- a/cypress/e2e/blueprints/roles/global-roles-get.ts +++ b/cypress/e2e/blueprints/roles/global-roles-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // GET /v1/management.cattle.io.globalroles - small set of pods data const globalRolesGetResponseSmallSet = { diff --git a/cypress/e2e/blueprints/users/users-get.ts b/cypress/e2e/blueprints/users/users-get.ts index 2ba645c37d1..582eda01f02 100644 --- a/cypress/e2e/blueprints/users/users-get.ts +++ b/cypress/e2e/blueprints/users/users-get.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; // GET /v3/users - small set of users data const usersGetResponseSmallSet = { diff --git a/cypress/e2e/tests/pages/explorer/dashboard/certificates.spec.ts b/cypress/e2e/tests/pages/explorer/dashboard/certificates.spec.ts index 9d8ab9b4b06..7bcb17ac2cd 100644 --- a/cypress/e2e/tests/pages/explorer/dashboard/certificates.spec.ts +++ b/cypress/e2e/tests/pages/explorer/dashboard/certificates.spec.ts @@ -1,7 +1,7 @@ import ClusterDashboardPagePo from '@/cypress/e2e/po/pages/explorer/cluster-dashboard.po'; import { SecretsPagePo } from '@/cypress/e2e/po/pages/explorer/secrets.po'; -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; const certName = 'expired'; const certNs = 'defaut'; diff --git a/cypress/e2e/tests/pages/manager/mock-responses.ts b/cypress/e2e/tests/pages/manager/mock-responses.ts index cc3f81878f3..dac6f02338c 100644 --- a/cypress/e2e/tests/pages/manager/mock-responses.ts +++ b/cypress/e2e/tests/pages/manager/mock-responses.ts @@ -1,4 +1,4 @@ -import { CYPRESS_SAFE_RESOURCE_REVISION } from '@/cypress/e2e/blueprints/blueprint.utils'; +import { CYPRESS_SAFE_RESOURCE_REVISION } from '../blueprint.utils'; export function nodeDriveResponse(addCloudCredential: boolean, driver: string): any { return {