Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NoQA] Skip the reassure ReportScreen tests until they are not flakey #31131

Merged
merged 3 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/perf-test/ReportActionCompose.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import ReportActionCompose from '../../src/pages/home/report/ReportActionCompose
import * as LHNTestUtils from '../utils/LHNTestUtils';
import waitForBatchedUpdates from '../utils/waitForBatchedUpdates';

jest.setTimeout(60000);

// mock PortalStateContext
jest.mock('@gorhom/portal');

Expand Down
4 changes: 2 additions & 2 deletions tests/perf-test/ReportScreen.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function ReportScreenWrapper(args) {
);
}

test('should render ReportScreen with composer interactions', () => {
test.skip('should render ReportScreen with composer interactions', () => {
const scenario = async () => {
// Query for the report list
await screen.findByTestId('report-actions-list');
Expand Down Expand Up @@ -179,7 +179,7 @@ test('should render ReportScreen with composer interactions', () => {
.then(() => measurePerformance(<ReportScreenWrapper route={mockRoute} />, {scenario}));
});

test('should press of the report item', () => {
test.skip('should press of the report item', () => {
const scenario = async () => {
// Query for the report list
await screen.findByTestId('report-actions-list');
Expand Down
2 changes: 2 additions & 0 deletions tests/perf-test/SelectionList.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import _ from 'underscore';
import SelectionList from '../../src/components/SelectionList';
import variables from '../../src/styles/variables';

jest.setTimeout(60000);

jest.mock('../../src/components/Icon/Expensicons');

jest.mock('../../src/hooks/useLocalize', () =>
Expand Down
Loading