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
958f2da0
Commit
958f2da0
authored
Feb 08, 2024
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test-fixes
parent
d9ea46f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
AddressTokenTransfers.pw.tsx
ui/address/AddressTokenTransfers.pw.tsx
+2
-2
AddressTokens.pw.tsx
ui/address/AddressTokens.pw.tsx
+2
-2
Tokens.pw.tsx
ui/pages/Tokens.pw.tsx
+1
-1
No files found.
ui/address/AddressTokenTransfers.pw.tsx
View file @
958f2da0
...
...
@@ -108,7 +108,7 @@ test.describe('socket', () => {
},
};
const
API_URL_NO_TOKEN
=
buildApiUrl
(
'
address_token_transfers
'
,
{
hash
:
CURRENT_ADDRESS
})
+
'
?type=
'
;
const
API_URL_NO_TOKEN
=
buildApiUrl
(
'
address_token_transfers
'
,
{
hash
:
CURRENT_ADDRESS
});
await
page
.
route
(
API_URL_NO_TOKEN
,
(
route
)
=>
route
.
fulfill
({
status
:
200
,
...
...
@@ -144,7 +144,7 @@ test.describe('socket', () => {
},
};
const
API_URL_NO_TOKEN
=
buildApiUrl
(
'
address_token_transfers
'
,
{
hash
:
CURRENT_ADDRESS
})
+
'
?type=
'
;
const
API_URL_NO_TOKEN
=
buildApiUrl
(
'
address_token_transfers
'
,
{
hash
:
CURRENT_ADDRESS
});
await
page
.
route
(
API_URL_NO_TOKEN
,
(
route
)
=>
route
.
fulfill
({
status
:
200
,
...
...
ui/address/AddressTokens.pw.tsx
View file @
958f2da0
...
...
@@ -13,8 +13,8 @@ import AddressTokens from './AddressTokens';
const
ADDRESS_HASH
=
addressMock
.
withName
.
hash
;
const
API_URL_ADDRESS
=
buildApiUrl
(
'
address
'
,
{
hash
:
ADDRESS_HASH
});
const
API_URL_TOKENS
=
buildApiUrl
(
'
address_tokens
'
,
{
hash
:
ADDRESS_HASH
});
const
API_URL_NFT
=
buildApiUrl
(
'
address_nfts
'
,
{
hash
:
ADDRESS_HASH
})
+
'
?type=
'
;
const
API_URL_COLLECTIONS
=
buildApiUrl
(
'
address_collections
'
,
{
hash
:
ADDRESS_HASH
})
+
'
?type=
'
;
const
API_URL_NFT
=
buildApiUrl
(
'
address_nfts
'
,
{
hash
:
ADDRESS_HASH
});
const
API_URL_COLLECTIONS
=
buildApiUrl
(
'
address_collections
'
,
{
hash
:
ADDRESS_HASH
});
const
nextPageParams
=
{
items_count
:
50
,
...
...
ui/pages/Tokens.pw.tsx
View file @
958f2da0
...
...
@@ -111,7 +111,7 @@ base.describe('bridged tokens', async() => {
});
test
(
'
base view
'
,
async
({
mount
,
page
})
=>
{
await
page
.
route
(
BRIDGED_TOKENS_API_URL
+
'
?chain_ids=99
'
,
(
route
)
=>
route
.
fulfill
({
await
page
.
route
(
BRIDGED_TOKENS_API_URL
+
'
?chain_ids
%5B0%5D
=99
'
,
(
route
)
=>
route
.
fulfill
({
status
:
200
,
body
:
JSON
.
stringify
(
bridgedFilteredTokens
),
}));
...
...
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