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

Skip flaky tests #7240

Merged
merged 2 commits into from
Feb 10, 2025
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
3 changes: 2 additions & 1 deletion packages/core/test/popover/popoverTests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ describe("<Popover>", () => {
usePortal: true,
};

it("moves focus to overlay when opened", done => {
// HACKHACK: skipped test resulting from React 18 upgrade. See: https://github.com/palantir/blueprint/issues/7168
it.skip("moves focus to overlay when opened", done => {
function handleOpened() {
assert.notEqual(document.activeElement, document.body, "body element should not have focus");
assert.isNotNull(
Expand Down
12 changes: 8 additions & 4 deletions packages/datetime2/test/components/dateRangeInput3Tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,8 @@ describe("<DateRangeInput3>", () => {

// this test sub-suite is structured a little differently because of the
// different semantics of this error case in each field
describe("Typing an overlapping date", () => {
// HACKHACK: skipped test resulting from React 18 upgrade. See: https://github.com/palantir/blueprint/issues/7168
describe.skip("Typing an overlapping date", () => {
let onChange: sinon.SinonSpy;
let onError: sinon.SinonSpy;
let root: WrappedComponentRoot;
Expand Down Expand Up @@ -2762,7 +2763,8 @@ describe("<DateRangeInput3>", () => {
assertInputValuesEqual(root, START_STR_2, "");
});

describe("Typing an out-of-range date", () => {
// HACKHACK: skipped test resulting from React 18 upgrade. See: https://github.com/palantir/blueprint/issues/7168
describe.skip("Typing an out-of-range date", () => {
let onChange: sinon.SinonSpy;
let onError: sinon.SinonSpy;
let root: WrappedComponentRoot;
Expand Down Expand Up @@ -2841,7 +2843,8 @@ describe("<DateRangeInput3>", () => {
root.setProps({ onChange });
});

describe("calls onError on blur with Date(undefined) in place of the invalid date", () => {
// HACKHACK: skipped test resulting from React 18 upgrade. See: https://github.com/palantir/blueprint/issues/7168
describe.skip("calls onError on blur with Date(undefined) in place of the invalid date", () => {
runTestForEachScenario((inputGetterFn, boundary) => {
inputGetterFn(root).simulate("focus");
changeInputText(inputGetterFn(root), INVALID_STR);
Expand Down Expand Up @@ -2871,7 +2874,8 @@ describe("<DateRangeInput3>", () => {
}
});

describe("Typing an overlapping date", () => {
// HACKHACK: skipped test resulting from React 18 upgrade. See: https://github.com/palantir/blueprint/issues/7168
describe.skip("Typing an overlapping date", () => {
let onChange: sinon.SinonSpy;
let onError: sinon.SinonSpy;
let root: WrappedComponentRoot;
Expand Down