Skip to content

Commit

Permalink
fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-dubinin committed Nov 28, 2024
1 parent 139e1e3 commit 6349926
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 30 deletions.
4 changes: 2 additions & 2 deletions packages/e2e/pages/pool-page.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/pages/pools-page.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
4 changes: 2 additions & 2 deletions packages/e2e/pages/portfolio-page.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/pages/swap-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions packages/e2e/tests/claim.spec.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/tests/pools.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
6 changes: 3 additions & 3 deletions packages/e2e/tests/portfolio.wallet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e/tests/select.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down
8 changes: 4 additions & 4 deletions packages/e2e/tests/swap.wallet.spec.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
8 changes: 4 additions & 4 deletions packages/e2e/tests/trade.wallet.spec.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
11 changes: 5 additions & 6 deletions packages/e2e/tests/transactions.wallet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6349926

Please sign in to comment.