test: disable flaky tests - closes #1304

This commit is contained in:
Edd 2022-06-15 17:52:59 +01:00
parent 33fdaff60e
commit 9c41009dcd
2 changed files with 6 additions and 3 deletions

View File

@ -38,7 +38,8 @@ describe('SimpleMarketList', () => {
jest.clearAllMocks(); jest.clearAllMocks();
}); });
it('should be properly renderer as empty', async () => { // [EH] Flaky test disabled, see #1304
it.skip('should be properly renderer as empty', async () => {
const mocks: MockedResponse<SimpleMarkets> = { const mocks: MockedResponse<SimpleMarkets> = {
request: { request: {
query: MARKETS_QUERY, query: MARKETS_QUERY,

View File

@ -30,7 +30,8 @@ describe('SimpleMarketToolbar', () => {
jest.resetAllMocks(); jest.resetAllMocks();
}); });
it('should be properly rendered', async () => { // [EH] Flaky test disabled, see #1304
it.skip('should be properly rendered', async () => {
await act(async () => { await act(async () => {
render( render(
<MockedProvider mocks={[filterMock]} addTypename={false}> <MockedProvider mocks={[filterMock]} addTypename={false}>
@ -45,7 +46,8 @@ describe('SimpleMarketToolbar', () => {
expect(screen.getByRole('combobox').children).toHaveLength(10); expect(screen.getByRole('combobox').children).toHaveLength(10);
}); });
it('navigation should work well', async () => { // [EH] Flaky test disabled, see #1304
it.skip('navigation should work well', async () => {
await act(async () => { await act(async () => {
render( render(
<MockedProvider mocks={[filterMock]} addTypename={false}> <MockedProvider mocks={[filterMock]} addTypename={false}>