mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* Mobile UI: search (drawer) * drawer border radius * fix * tests * fix * fixes * fixes2
17 lines
555 B
TypeScript
17 lines
555 B
TypeScript
import React from 'react';
|
|
|
|
import { userOpsData } from 'mocks/userOps/userOps';
|
|
import { ENVS_MAP } from 'playwright/fixtures/mockEnvs';
|
|
import { test, expect } from 'playwright/lib';
|
|
|
|
import UserOps from './UserOps';
|
|
|
|
test('base view +@mobile', async({ render, mockEnvs, mockTextAd, mockApiResponse }) => {
|
|
test.slow();
|
|
await mockEnvs(ENVS_MAP.userOps);
|
|
await mockTextAd();
|
|
await mockApiResponse('general:user_ops', userOpsData);
|
|
const component = await render(<UserOps/>);
|
|
await expect(component).toHaveScreenshot({ timeout: 10_000 });
|
|
});
|