From 19dc4b4c73960e64f3fc233ab848e5bbf47c8bca Mon Sep 17 00:00:00 2001 From: Niraj Date: Wed, 23 Oct 2024 14:20:22 +0545 Subject: [PATCH] fix: use logger import from helper instead of cypress logger --- tests/govtool-frontend/playwright/lib/helpers/transaction.ts | 2 +- tests/govtool-frontend/playwright/lib/services/kuberService.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/govtool-frontend/playwright/lib/helpers/transaction.ts b/tests/govtool-frontend/playwright/lib/helpers/transaction.ts index e055d2549..087147351 100644 --- a/tests/govtool-frontend/playwright/lib/helpers/transaction.ts +++ b/tests/govtool-frontend/playwright/lib/helpers/transaction.ts @@ -2,11 +2,11 @@ import environments from "@constants/environments"; import { Page, expect } from "@playwright/test"; import kuberService from "@services/kuberService"; import { LockInterceptor, LockInterceptorInfo } from "lib/lockInterceptor"; -import { Logger } from "../../../cypress/lib/logger/logger"; import convertBufferToHex from "./convertBufferToHex"; import { ShelleyWallet } from "./crypto"; import { uploadMetadataAndGetJsonHash } from "./metadata"; import { WalletAndAnchorType } from "@types"; +import { Logger } from "@helpers/logger"; /** * Polls the transaction status until it's resolved or times out. diff --git a/tests/govtool-frontend/playwright/lib/services/kuberService.ts b/tests/govtool-frontend/playwright/lib/services/kuberService.ts index d88164466..fe42fbf0e 100644 --- a/tests/govtool-frontend/playwright/lib/services/kuberService.ts +++ b/tests/govtool-frontend/playwright/lib/services/kuberService.ts @@ -10,7 +10,7 @@ import environments from "lib/constants/environments"; import { LockInterceptor, LockInterceptorInfo } from "lib/lockInterceptor"; import fetch, { BodyInit, RequestInit } from "node-fetch"; import { cborxDecoder, cborxEncoder } from "../helpers/cborEncodeDecode"; -import { Logger } from "./../../../cypress/lib/logger/logger"; +import { Logger } from "@helpers/logger"; type CertificateType = "registerstake" | "registerdrep" | "deregisterdrep";