Skip to content

Commit b905341

Browse files
committed
skip performance tests
1 parent 14fe781 commit b905341

4 files changed

+9
-9
lines changed

tests/perf-test/ReportActionCompose.perf-test.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function ReportActionComposeWrapper() {
102102
}
103103
const mockEvent = {preventDefault: jest.fn()};
104104

105-
test('[ReportActionCompose] should render Composer with text input interactions', async () => {
105+
test.skip('[ReportActionCompose] should render Composer with text input interactions', async () => {
106106
const scenario = async () => {
107107
// Query for the composer
108108
const composer = await screen.findByTestId('composer');
@@ -121,7 +121,7 @@ test('[ReportActionCompose] should render Composer with text input interactions'
121121
return waitForBatchedUpdates().then(() => measurePerformance(<ReportActionComposeWrapper />, {scenario}));
122122
});
123123

124-
test('[ReportActionCompose] should press add attachemnt button', async () => {
124+
test.skip('[ReportActionCompose] should press add attachemnt button', async () => {
125125
const scenario = async () => {
126126
// Query for the attachment button
127127
const hintAttachmentButtonText = Localize.translateLocal('common.create');
@@ -133,7 +133,7 @@ test('[ReportActionCompose] should press add attachemnt button', async () => {
133133
return waitForBatchedUpdates().then(() => measurePerformance(<ReportActionComposeWrapper />, {scenario}));
134134
});
135135

136-
test('[ReportActionCompose] should press add emoji button', async () => {
136+
test.skip('[ReportActionCompose] should press add emoji button', async () => {
137137
const scenario = async () => {
138138
// Query for the emoji button
139139
const hintEmojiButtonText = Localize.translateLocal('reportActionCompose.emoji');
@@ -145,7 +145,7 @@ test('[ReportActionCompose] should press add emoji button', async () => {
145145
return waitForBatchedUpdates().then(() => measurePerformance(<ReportActionComposeWrapper />, {scenario}));
146146
});
147147

148-
test('[ReportActionCompose] should press send message button', async () => {
148+
test.skip('[ReportActionCompose] should press send message button', async () => {
149149
const scenario = async () => {
150150
// Query for the send button
151151
const hintSendButtonText = Localize.translateLocal('common.send');
@@ -157,7 +157,7 @@ test('[ReportActionCompose] should press send message button', async () => {
157157
return waitForBatchedUpdates().then(() => measurePerformance(<ReportActionComposeWrapper />, {scenario}));
158158
});
159159

160-
test('[ReportActionCompose] render composer with attachement modal interactions', async () => {
160+
test.skip('[ReportActionCompose] render composer with attachement modal interactions', async () => {
161161
const scenario = async () => {
162162
const hintAddAttachmentButtonText = Localize.translateLocal('reportActionCompose.addAttachment');
163163
const hintAssignTaskButtonText = Localize.translateLocal('newTaskPage.assignTask');

tests/perf-test/ReportActionsList.perf-test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function ReportActionsListWrapper() {
113113
);
114114
}
115115

116-
test('[ReportActionsList] should render ReportActionsList with 500 reportActions stored', () => {
116+
test.skip('[ReportActionsList] should render ReportActionsList with 500 reportActions stored', () => {
117117
const scenario = async () => {
118118
await screen.findByTestId('report-actions-list');
119119
const hintText = Localize.translateLocal('accessibilityHints.chatMessage');
@@ -130,7 +130,7 @@ test('[ReportActionsList] should render ReportActionsList with 500 reportActions
130130
.then(() => measurePerformance(<ReportActionsListWrapper />, {scenario}));
131131
});
132132

133-
test('[ReportActionsList] should scroll and click some of the reports', () => {
133+
test.skip('[ReportActionsList] should scroll and click some of the reports', () => {
134134
const eventData = {
135135
nativeEvent: {
136136
contentOffset: {

tests/perf-test/ReportScreen.perf-test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const report = {...createRandomReport(1), policyID: '1'};
167167
const reportActions = ReportTestUtils.getMockedReportActionsMap(1000);
168168
const mockRoute = {params: {reportID: '1', reportActionID: ''}, key: 'Report', name: 'Report' as const};
169169

170-
test('[ReportScreen] should render ReportScreen', () => {
170+
test.skip('[ReportScreen] should render ReportScreen', () => {
171171
const {triggerTransitionEnd, addListener} = TestHelper.createAddListenerMock();
172172
const scenario = async () => {
173173
/**

tests/perf-test/SidebarLinks.perf-test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const getMockedReportsMap = (length = 100) => {
4040

4141
const mockedResponseMap = getMockedReportsMap(500);
4242

43-
describe('SidebarLinks', () => {
43+
describe.skip('SidebarLinks', () => {
4444
beforeAll(() => {
4545
Onyx.init({
4646
keys: ONYXKEYS,

0 commit comments

Comments
 (0)