mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
13 lines
428 B
TypeScript
13 lines
428 B
TypeScript
import React from 'react';
|
|
|
|
import * as addressMock from 'mocks/address/address';
|
|
import { test, expect } from 'playwright/lib';
|
|
|
|
import AddressQrCode from './AddressQrCode';
|
|
|
|
test('default view +@mobile +@dark-mode', async({ render, page }) => {
|
|
await render(<AddressQrCode hash={ addressMock.withoutName.hash }/>);
|
|
await page.getByRole('button', { name: /qr code/i }).click();
|
|
await expect(page).toHaveScreenshot();
|
|
});
|