From 63499263292a1eba37aa674f0ce64e68ee8c9b94 Mon Sep 17 00:00:00 2001 From: yurydubinin <62520712+yury-dubinin@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:43:39 +0100 Subject: [PATCH] fixed imports --- packages/e2e/pages/pool-page.ts | 4 ++-- packages/e2e/pages/pools-page.ts | 2 +- packages/e2e/pages/portfolio-page.ts | 4 ++-- packages/e2e/pages/swap-page.ts | 2 +- packages/e2e/tests/claim.spec.ts | 8 ++++---- packages/e2e/tests/pools.spec.ts | 2 +- packages/e2e/tests/portfolio.wallet.spec.ts | 6 +++--- packages/e2e/tests/select.spec.ts | 4 ++-- packages/e2e/tests/swap.wallet.spec.ts | 8 ++++---- packages/e2e/tests/trade.wallet.spec.ts | 8 ++++---- packages/e2e/tests/transactions.wallet.spec.ts | 11 +++++------ 11 files changed, 29 insertions(+), 30 deletions(-) diff --git a/packages/e2e/pages/pool-page.ts b/packages/e2e/pages/pool-page.ts index 8fd75e50e1..448a70c205 100644 --- a/packages/e2e/pages/pool-page.ts +++ b/packages/e2e/pages/pool-page.ts @@ -1,7 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ -import { Locator, Page } from "@playwright/test"; +import type { Locator, Page } from "@playwright/test"; -import { BasePage } from "~/e2e/pages/base-page"; +import { BasePage } from "./base-page"; import { SwapPage } from "./swap-page"; diff --git a/packages/e2e/pages/pools-page.ts b/packages/e2e/pages/pools-page.ts index 70f13652e5..b06bdaf300 100644 --- a/packages/e2e/pages/pools-page.ts +++ b/packages/e2e/pages/pools-page.ts @@ -1,7 +1,7 @@ /* eslint-disable import/no-extraneous-dependencies */ import type { Locator, Page } from "@playwright/test"; -import { BasePage } from "~/e2e/pages/base-page"; +import { BasePage } from "./base-page"; import { PoolPage } from "./pool-page"; diff --git a/packages/e2e/pages/portfolio-page.ts b/packages/e2e/pages/portfolio-page.ts index a11fda4e84..04f8b329b4 100644 --- a/packages/e2e/pages/portfolio-page.ts +++ b/packages/e2e/pages/portfolio-page.ts @@ -1,8 +1,8 @@ /* eslint-disable import/no-extraneous-dependencies */ import type { Locator, Page } from "@playwright/test"; -import { BasePage } from "~/e2e/pages/base-page"; -import { TransactionsPage } from "~/e2e/pages/transactions-page"; +import { BasePage } from "./base-page"; +import { TransactionsPage } from "./transactions-page"; export class PortfolioPage extends BasePage { readonly hideZeros: Locator; diff --git a/packages/e2e/pages/swap-page.ts b/packages/e2e/pages/swap-page.ts index d95eb65cf4..fdc6a155f3 100644 --- a/packages/e2e/pages/swap-page.ts +++ b/packages/e2e/pages/swap-page.ts @@ -6,7 +6,7 @@ import { type Page, } from "@playwright/test"; -import { BasePage } from "~/e2e/pages/base-page"; +import { BasePage } from "./base-page"; export class SwapPage extends BasePage { readonly page: Page; diff --git a/packages/e2e/tests/claim.spec.ts b/packages/e2e/tests/claim.spec.ts index 7cc1a571fa..cae6bc055c 100644 --- a/packages/e2e/tests/claim.spec.ts +++ b/packages/e2e/tests/claim.spec.ts @@ -1,11 +1,11 @@ import { type BrowserContext, chromium, test } from "@playwright/test"; -import { TransactionsPage } from "~/e2e/pages/transactions-page"; -import { TestConfig } from "~/e2e/test-config"; -import { UnzipExtension } from "~/e2e/unzip-extension"; +import { TransactionsPage } from "../pages/transactions-page"; +import { TestConfig } from "../test-config"; +import { UnzipExtension } from "../unzip-extension"; +import { WalletPage } from "../pages/keplr-page"; import { TradePage } from "../pages/trade-page"; -import { WalletPage } from "../pages/wallet-page"; test.describe("Test Claim All Orders feature", () => { let context: BrowserContext; diff --git a/packages/e2e/tests/pools.spec.ts b/packages/e2e/tests/pools.spec.ts index 293719c1d9..ce5e3073bc 100644 --- a/packages/e2e/tests/pools.spec.ts +++ b/packages/e2e/tests/pools.spec.ts @@ -6,7 +6,7 @@ import { test, } from "@playwright/test"; -import { TestConfig } from "~/e2e/test-config"; +import { TestConfig } from "../test-config"; import { PoolsPage } from "../pages/pools-page"; diff --git a/packages/e2e/tests/portfolio.wallet.spec.ts b/packages/e2e/tests/portfolio.wallet.spec.ts index 8dcaaabd6d..60c815611f 100644 --- a/packages/e2e/tests/portfolio.wallet.spec.ts +++ b/packages/e2e/tests/portfolio.wallet.spec.ts @@ -6,11 +6,11 @@ import { test, } from "@playwright/test"; -import { TestConfig } from "~/e2e/test-config"; -import { UnzipExtension } from "~/e2e/unzip-extension"; +import { TestConfig } from "../test-config"; +import { UnzipExtension } from "../unzip-extension"; import { PortfolioPage } from "../pages/portfolio-page"; -import { WalletPage } from "../pages/wallet-page"; +import { WalletPage } from "../pages/keplr-page"; test.describe("Test Portfolio feature", () => { let context: BrowserContext; diff --git a/packages/e2e/tests/select.spec.ts b/packages/e2e/tests/select.spec.ts index a56d1be0ca..8d11c1b588 100644 --- a/packages/e2e/tests/select.spec.ts +++ b/packages/e2e/tests/select.spec.ts @@ -6,8 +6,8 @@ import { test, } from "@playwright/test"; -import { TradePage } from "~/e2e/pages/trade-page"; -import { TestConfig } from "~/e2e/test-config"; +import { TradePage } from "../pages/trade-page"; +import { TestConfig } from "../test-config"; // Pairs are selected from top 10 test.describe("Test Select Swap Pair feature", () => { diff --git a/packages/e2e/tests/swap.wallet.spec.ts b/packages/e2e/tests/swap.wallet.spec.ts index 2fd5003703..88e4cbf4cd 100644 --- a/packages/e2e/tests/swap.wallet.spec.ts +++ b/packages/e2e/tests/swap.wallet.spec.ts @@ -1,10 +1,10 @@ import { type BrowserContext, chromium, expect, test } from "@playwright/test"; -import { TradePage } from "~/e2e/pages/trade-page"; -import { TestConfig } from "~/e2e/test-config"; -import { UnzipExtension } from "~/e2e/unzip-extension"; +import { TestConfig } from "../test-config"; +import { UnzipExtension } from "../unzip-extension"; -import { WalletPage } from "../pages/wallet-page"; +import { WalletPage } from "../pages/keplr-page"; +import { TradePage } from "../pages/trade-page"; test.describe("Test Swap feature", () => { let context: BrowserContext; diff --git a/packages/e2e/tests/trade.wallet.spec.ts b/packages/e2e/tests/trade.wallet.spec.ts index aa59a7affd..d445aa4551 100644 --- a/packages/e2e/tests/trade.wallet.spec.ts +++ b/packages/e2e/tests/trade.wallet.spec.ts @@ -1,11 +1,11 @@ import { type BrowserContext, chromium, expect, test } from "@playwright/test"; -import { TransactionsPage } from "~/e2e/pages/transactions-page"; -import { TestConfig } from "~/e2e/test-config"; -import { UnzipExtension } from "~/e2e/unzip-extension"; +import { TransactionsPage } from "../pages/transactions-page"; +import { TestConfig } from "../test-config"; +import { UnzipExtension } from "../unzip-extension"; +import { WalletPage } from "../pages/keplr-page"; import { TradePage } from "../pages/trade-page"; -import { WalletPage } from "../pages/wallet-page"; test.describe("Test Trade feature", () => { let context: BrowserContext; diff --git a/packages/e2e/tests/transactions.wallet.spec.ts b/packages/e2e/tests/transactions.wallet.spec.ts index 02dcd945ba..d87da5d611 100644 --- a/packages/e2e/tests/transactions.wallet.spec.ts +++ b/packages/e2e/tests/transactions.wallet.spec.ts @@ -6,13 +6,12 @@ import { test, } from "@playwright/test"; -import { SwapPage } from "~/e2e/pages/swap-page"; -import { TransactionsPage } from "~/e2e/pages/transactions-page"; -import { TestConfig } from "~/e2e/test-config"; -import { UnzipExtension } from "~/e2e/unzip-extension"; - +import { SwapPage } from "../pages/swap-page"; +import { TransactionsPage } from "../pages/transactions-page"; +import { TestConfig } from "../test-config"; +import { UnzipExtension } from "../unzip-extension"; +import { WalletPage } from "../pages/keplr-page"; import { PortfolioPage } from "../pages/portfolio-page"; -import { WalletPage } from "../pages/wallet-page"; test.describe("Test Transactions feature", () => { let context: BrowserContext;