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 Reassure performance tests #21

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
10 changes: 5 additions & 5 deletions tests/perf-test/ReportActionCompose.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function ReportActionComposeWrapper() {
}
const mockEvent = {preventDefault: jest.fn()};

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

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

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

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

test('[ReportActionCompose] render composer with attachement modal interactions', async () => {
test.skip('[ReportActionCompose] render composer with attachement modal interactions', async () => {
const scenario = async () => {
const hintAddAttachmentButtonText = Localize.translateLocal('reportActionCompose.addAttachment');
const hintAssignTaskButtonText = Localize.translateLocal('newTaskPage.assignTask');
Expand Down
4 changes: 2 additions & 2 deletions tests/perf-test/ReportActionsList.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function ReportActionsListWrapper() {
);
}

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

test('[ReportActionsList] should scroll and click some of the reports', () => {
test.skip('[ReportActionsList] should scroll and click some of the reports', () => {
const eventData = {
nativeEvent: {
contentOffset: {
Expand Down
2 changes: 1 addition & 1 deletion tests/perf-test/ReportScreen.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const report = {...createRandomReport(1), policyID: '1'};
const reportActions = ReportTestUtils.getMockedReportActionsMap(1000);
const mockRoute = {params: {reportID: '1', reportActionID: ''}, key: 'Report', name: 'Report' as const};

test('[ReportScreen] should render ReportScreen', () => {
test.skip('[ReportScreen] should render ReportScreen', () => {
const {triggerTransitionEnd, addListener} = TestHelper.createAddListenerMock();
const scenario = async () => {
/**
Expand Down
2 changes: 1 addition & 1 deletion tests/perf-test/SidebarLinks.perf-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getMockedReportsMap = (length = 100) => {

const mockedResponseMap = getMockedReportsMap(500);

describe('SidebarLinks', () => {
describe.skip('SidebarLinks', () => {
beforeAll(() => {
Onyx.init({
keys: ONYXKEYS,
Expand Down
Loading