Skip to content

Commit

Permalink
Merge pull request #31131 from Expensify/vit-skipTemporarilyReportScr…
Browse files Browse the repository at this point in the history
…eenReassureTests

[NoQA] Skip the reassure ReportScreen tests until they are not flakey
  • Loading branch information
robertjchen authored Nov 10, 2023
2 parents ee275ef + 4692030 commit d15d493
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
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

0 comments on commit d15d493

Please sign in to comment.