From e9def70d4d716d76b1df6c4792d34f577f7d2684 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Mon, 9 Oct 2023 18:27:54 +0600 Subject: [PATCH] chore: fix e2e tests --- apps/cowswap-frontend-e2e/src/e2e/lists.test.ts | 2 +- .../src/modules/tokensList/containers/ManageLists/index.tsx | 2 +- .../modules/tokensList/containers/SelectTokenModal/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/cowswap-frontend-e2e/src/e2e/lists.test.ts b/apps/cowswap-frontend-e2e/src/e2e/lists.test.ts index e9faf71142..2dcddd639e 100644 --- a/apps/cowswap-frontend-e2e/src/e2e/lists.test.ts +++ b/apps/cowswap-frontend-e2e/src/e2e/lists.test.ts @@ -5,7 +5,7 @@ describe('Lists', () => { it('change list', () => { cy.get('#output-currency-input .open-currency-select-button').click() - cy.get('.list-token-manage-button').click() + cy.get('#list-token-manage-button').click() cy.get('#tokens-lists-table > div').should('have.length.greaterThan', 1) }) }) diff --git a/apps/cowswap-frontend/src/modules/tokensList/containers/ManageLists/index.tsx b/apps/cowswap-frontend/src/modules/tokensList/containers/ManageLists/index.tsx index 984fb752e3..e4fd3c858b 100644 --- a/apps/cowswap-frontend/src/modules/tokensList/containers/ManageLists/index.tsx +++ b/apps/cowswap-frontend/src/modules/tokensList/containers/ManageLists/index.tsx @@ -41,7 +41,7 @@ export function ManageLists(props: ManageListsProps) { /> )} - + {lists .sort((a, b) => (a.priority || 0) - (b.priority || 0)) .map((list) => ( diff --git a/apps/cowswap-frontend/src/modules/tokensList/containers/SelectTokenModal/index.tsx b/apps/cowswap-frontend/src/modules/tokensList/containers/SelectTokenModal/index.tsx index c054dcc1dc..3cafa3e6ef 100644 --- a/apps/cowswap-frontend/src/modules/tokensList/containers/SelectTokenModal/index.tsx +++ b/apps/cowswap-frontend/src/modules/tokensList/containers/SelectTokenModal/index.tsx @@ -88,7 +88,7 @@ export function SelectTokenModal(props: SelectTokenModalProps) { )}
- + Manage Token Lists