diff --git a/ui/address/tokenSelect/TokenSelect.pw.tsx b/ui/address/tokenSelect/TokenSelect.pw.tsx index e539d84ded..a503f1ed2c 100644 --- a/ui/address/tokenSelect/TokenSelect.pw.tsx +++ b/ui/address/tokenSelect/TokenSelect.pw.tsx @@ -38,7 +38,6 @@ test('base view +@dark-mode', async({ render, page }) => { ); await page.getByRole('button', { name: /select/i }).click(); - await page.getByText('USD Coin').hover(); await expect(page).toHaveScreenshot({ clip: CLIPPING_AREA }); diff --git a/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_dark-color-mode_base-view-dark-mode-1.png b/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_dark-color-mode_base-view-dark-mode-1.png index 4541497807..bcf909abb9 100644 Binary files a/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_dark-color-mode_base-view-dark-mode-1.png and b/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_dark-color-mode_base-view-dark-mode-1.png differ diff --git a/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_default_base-view-dark-mode-1.png b/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_default_base-view-dark-mode-1.png index 6c45a70ec9..a566383356 100644 Binary files a/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_default_base-view-dark-mode-1.png and b/ui/address/tokenSelect/__screenshots__/TokenSelect.pw.tsx_default_base-view-dark-mode-1.png differ diff --git a/ui/token/TokenInventory.pw.tsx b/ui/token/TokenInventory.pw.tsx index 008316d51c..250a57012f 100644 --- a/ui/token/TokenInventory.pw.tsx +++ b/ui/token/TokenInventory.pw.tsx @@ -2,12 +2,17 @@ import { Box } from '@chakra-ui/react'; import React from 'react'; import { tokenInfoERC721a } from 'mocks/tokens/tokenInfo'; -import { base as tokenInstanse } from 'mocks/tokens/tokenInstance'; +import { base as tokenInstance } from 'mocks/tokens/tokenInstance'; import { test, expect } from 'playwright/lib'; import TokenInventory from './TokenInventory'; -test('base view +@mobile', async({ render }) => { +test('base view +@mobile', async({ render, mockAssetResponse }) => { + + const item = { ...tokenInstance, image_url: null }; + + await mockAssetResponse(tokenInstance.image_url as string, './playwright/mocks/image_s.jpg'); + const component = await render( { // @ts-ignore: inventoryQuery={{ data: { - items: [ tokenInstanse, tokenInstanse, tokenInstanse ], + items: [ tokenInstance, item, item ], next_page_params: { unique_token: 1 }, }, diff --git a/ui/token/__screenshots__/TokenInventory.pw.tsx_default_base-view-mobile-1.png b/ui/token/__screenshots__/TokenInventory.pw.tsx_default_base-view-mobile-1.png index e38e0ae970..6b8d205580 100644 Binary files a/ui/token/__screenshots__/TokenInventory.pw.tsx_default_base-view-mobile-1.png and b/ui/token/__screenshots__/TokenInventory.pw.tsx_default_base-view-mobile-1.png differ diff --git a/ui/token/__screenshots__/TokenInventory.pw.tsx_mobile_base-view-mobile-1.png b/ui/token/__screenshots__/TokenInventory.pw.tsx_mobile_base-view-mobile-1.png index 1c04033f3d..a4998f2efa 100644 Binary files a/ui/token/__screenshots__/TokenInventory.pw.tsx_mobile_base-view-mobile-1.png and b/ui/token/__screenshots__/TokenInventory.pw.tsx_mobile_base-view-mobile-1.png differ