Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
1ccbf441
Commit
1ccbf441
authored
Feb 10, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
0e4294da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
5 deletions
+1
-5
tokenTransfer.ts
mocks/tokens/tokenTransfer.ts
+1
-1
TokenTransfer.pw.tsx
ui/token/TokenTransfer/TokenTransfer.pw.tsx
+0
-4
TokenTransfer.pw.tsx_default_erc1155-mobile-1.png
...shots__/TokenTransfer.pw.tsx_default_erc1155-mobile-1.png
+0
-0
TokenTransfer.pw.tsx_mobile_erc1155-mobile-1.png
...nshots__/TokenTransfer.pw.tsx_mobile_erc1155-mobile-1.png
+0
-0
No files found.
mocks/tokens/tokenTransfer.ts
View file @
1ccbf441
...
...
@@ -112,7 +112,7 @@ export const erc1155: TokenTransfer = {
exchange_rate
:
null
,
holders
:
'
1
'
,
name
:
null
,
symbol
:
null
,
symbol
:
'
MY_SYMBOL_IS_VERY_LONG
'
,
type
:
'
ERC-1155
'
,
total_supply
:
'
0
'
,
},
...
...
ui/token/TokenTransfer/TokenTransfer.pw.tsx
View file @
1ccbf441
...
...
@@ -2,7 +2,6 @@ import { Box } from '@chakra-ui/react';
import
{
test
,
expect
}
from
'
@playwright/experimental-ct-react
'
;
import
React
from
'
react
'
;
import
{
tokenInfo
}
from
'
mocks/tokens/tokenInfo
'
;
import
*
as
tokenTransferMock
from
'
mocks/tokens/tokenTransfer
'
;
import
TestApp
from
'
playwright/TestApp
'
;
...
...
@@ -13,7 +12,6 @@ test('erc20 +@mobile', async({ mount }) => {
<
TestApp
>
<
Box
h=
{
{
base
:
'
134px
'
,
lg
:
'
100px
'
}
}
/>
<
TokenTransfer
token=
{
tokenInfo
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore:
transfersQuery=
{
{
...
...
@@ -38,7 +36,6 @@ test('erc721 +@mobile', async({ mount }) => {
<
TestApp
>
<
Box
h=
{
{
base
:
'
134px
'
,
lg
:
'
100px
'
}
}
/>
<
TokenTransfer
token=
{
{
...
tokenInfo
,
type
:
'
ERC-721
'
}
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore:
transfersQuery=
{
{
...
...
@@ -63,7 +60,6 @@ test('erc1155 +@mobile', async({ mount }) => {
<
TestApp
>
<
Box
h=
{
{
base
:
'
134px
'
,
lg
:
'
100px
'
}
}
/>
<
TokenTransfer
token=
{
{
...
tokenInfo
,
type
:
'
ERC-1155
'
,
symbol
:
tokenTransferMock
.
erc1155multiple
.
token
.
symbol
}
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore:
transfersQuery=
{
{
...
...
ui/token/TokenTransfer/__screenshots__/TokenTransfer.pw.tsx_default_erc1155-mobile-1.png
View replaced file @
0e4294da
View file @
1ccbf441
52.6 KB
|
W:
|
H:
52.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/token/TokenTransfer/__screenshots__/TokenTransfer.pw.tsx_mobile_erc1155-mobile-1.png
View replaced file @
0e4294da
View file @
1ccbf441
54 KB
|
W:
|
H:
55 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment