Bug 1809467 - disable collapsable_rows_test.jsx and test_perfcompare_api.py as it is too frequently intermittent (#7622)

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Bug 1809467 - disable perfherder collapsable_rows_test.jsx as it is too frequently intermittent.
This commit is contained in:
Joel Maher 2023-01-10 12:33:48 -08:00 коммит произвёл GitHub
Родитель 903447cee3
Коммит 6f7461455d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,5 @@
import React from 'react';
import { render, cleanup, waitFor, fireEvent } from '@testing-library/react';
import { render, cleanup } from '@testing-library/react';
import CollapsableRows from '../../../../ui/perfherder/alerts/CollapsableRows';
import testAlertSummary from '../../mock/alert_summary_very_big';
@ -44,6 +44,9 @@ const collapsableRowsTest = () => {
afterEach(cleanup);
test('Alert summary with more than 26 alerts is collapsable', async () => {
const { getAllByLabelText } = collapsableRowsTest();
expect(getAllByLabelText).toBeDefined();
/*
const { getAllByLabelText, getByTestId } = collapsableRowsTest();
let visibleRows = await waitFor(() => getAllByLabelText('Alert table row'));
@ -61,9 +64,13 @@ test('Alert summary with more than 26 alerts is collapsable', async () => {
visibleRows = await waitFor(() => getAllByLabelText('Alert table row'));
expect(visibleRows).toHaveLength(testAlertSummary.alerts.length);
*/
});
test('Alerts can be folded back up', async () => {
const { getAllByLabelText } = collapsableRowsTest();
expect(getAllByLabelText).toBeDefined();
/*
const { getAllByLabelText, getByTestId } = collapsableRowsTest();
const showMoreAlerts = await waitFor(() => getByTestId('show-more-alerts'));
@ -81,4 +88,5 @@ test('Alerts can be folded back up', async () => {
visibleRows = await waitFor(() => getAllByLabelText('Alert table row'));
expect(visibleRows).toHaveLength(26);
*/
});

Просмотреть файл

@ -6,6 +6,7 @@ from treeherder.webapp.api import perfcompare_utils
from treeherder.perf.models import (
PerformanceDatum,
)
from unittest import skip
NOW = datetime.datetime.now()
ONE_DAY_AGO = NOW - datetime.timedelta(days=1)
@ -313,6 +314,7 @@ def test_perfcompare_results_with_only_one_run_and_diff_repo(
assert expected[0] == response.json()[0]
@skip("test is frequently failing in CI, needs to be fixed, see bug 1809467")
def test_perfcompare_results_multiple_runs(
client,
create_signature,