Commit 1ccbf441 authored by tom's avatar tom

fix tests

parent 0e4294da
...@@ -112,7 +112,7 @@ export const erc1155: TokenTransfer = { ...@@ -112,7 +112,7 @@ export const erc1155: TokenTransfer = {
exchange_rate: null, exchange_rate: null,
holders: '1', holders: '1',
name: null, name: null,
symbol: null, symbol: 'MY_SYMBOL_IS_VERY_LONG',
type: 'ERC-1155', type: 'ERC-1155',
total_supply: '0', total_supply: '0',
}, },
......
...@@ -2,7 +2,6 @@ import { Box } from '@chakra-ui/react'; ...@@ -2,7 +2,6 @@ import { Box } from '@chakra-ui/react';
import { test, expect } from '@playwright/experimental-ct-react'; import { test, expect } from '@playwright/experimental-ct-react';
import React from 'react'; import React from 'react';
import { tokenInfo } from 'mocks/tokens/tokenInfo';
import * as tokenTransferMock from 'mocks/tokens/tokenTransfer'; import * as tokenTransferMock from 'mocks/tokens/tokenTransfer';
import TestApp from 'playwright/TestApp'; import TestApp from 'playwright/TestApp';
...@@ -13,7 +12,6 @@ test('erc20 +@mobile', async({ mount }) => { ...@@ -13,7 +12,6 @@ test('erc20 +@mobile', async({ mount }) => {
<TestApp> <TestApp>
<Box h={{ base: '134px', lg: '100px' }}/> <Box h={{ base: '134px', lg: '100px' }}/>
<TokenTransfer <TokenTransfer
token={ tokenInfo }
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: // @ts-ignore:
transfersQuery={{ transfersQuery={{
...@@ -38,7 +36,6 @@ test('erc721 +@mobile', async({ mount }) => { ...@@ -38,7 +36,6 @@ test('erc721 +@mobile', async({ mount }) => {
<TestApp> <TestApp>
<Box h={{ base: '134px', lg: '100px' }}/> <Box h={{ base: '134px', lg: '100px' }}/>
<TokenTransfer <TokenTransfer
token={{ ...tokenInfo, type: 'ERC-721' }}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: // @ts-ignore:
transfersQuery={{ transfersQuery={{
...@@ -63,7 +60,6 @@ test('erc1155 +@mobile', async({ mount }) => { ...@@ -63,7 +60,6 @@ test('erc1155 +@mobile', async({ mount }) => {
<TestApp> <TestApp>
<Box h={{ base: '134px', lg: '100px' }}/> <Box h={{ base: '134px', lg: '100px' }}/>
<TokenTransfer <TokenTransfer
token={{ ...tokenInfo, type: 'ERC-1155', symbol: tokenTransferMock.erc1155multiple.token.symbol }}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: // @ts-ignore:
transfersQuery={{ transfersQuery={{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment