Files
tom goriunovandGitHub fae4990e1f API resource refactoring (#2699)
* add prefix to API resources

* fix pw tests

* refactor config

* remove unnecessary prefixes in resource names

* fixes

* update screenshots
2025-05-01 15:22:38 +02:00

15 lines
616 B
TypeScript

import React from 'react';
import { indexingStatus } from 'mocks/stats/index';
import { test, expect } from 'playwright/lib';
import LayoutHome from './LayoutHome';
// FIXME: at the moment, in the docker container playwright make screenshot before the page is completely loaded
// I cannot figure out the reason, so I skip this test for now
test.skip('base view +@mobile', async({ render, mockApiResponse }) => {
await mockApiResponse('general:homepage_indexing_status', indexingStatus);
const component = await render(<LayoutHome>Page Content</LayoutHome>);
await expect(component).toHaveScreenshot();
});