mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* next part of test refactoring * more refactoring * more refactoring * fixes and clean-up * fixes * build fixes * more fixes
17 lines
608 B
TypeScript
17 lines
608 B
TypeScript
import React from 'react';
|
|
|
|
import * as mocks from 'mocks/txs/decodedInputData';
|
|
import { test, expect } from 'playwright/lib';
|
|
|
|
import LogDecodedInputData from './LogDecodedInputData';
|
|
|
|
test('with indexed fields +@mobile +@dark-mode', async({ render }) => {
|
|
const component = await render(<LogDecodedInputData data={ mocks.withIndexedFields }/>);
|
|
await expect(component).toHaveScreenshot();
|
|
});
|
|
|
|
test('without indexed fields +@mobile', async({ render }) => {
|
|
const component = await render(<LogDecodedInputData data={ mocks.withoutIndexedFields }/>);
|
|
await expect(component).toHaveScreenshot();
|
|
});
|