From a459b0392e4391638f5246175ed27ba5ef868489 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 22:13:28 +0000 Subject: [PATCH 1/3] CHORE(NPM) - bump @leafygreen-ui/radio-group from 10.1.1 to 10.2.4 Bumps [@leafygreen-ui/radio-group](https://github.com/mongodb/leafygreen-ui) from 10.1.1 to 10.2.4. - [Release notes](https://github.com/mongodb/leafygreen-ui/releases) - [Commits](https://github.com/mongodb/leafygreen-ui/compare/@leafygreen-ui/modal@10.1.1...@leafygreen-ui/radio-group@10.2.4) --- updated-dependencies: - dependency-name: "@leafygreen-ui/radio-group" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 86 +++++++++++----------------------------------------- 2 files changed, 18 insertions(+), 70 deletions(-) diff --git a/package.json b/package.json index 02bd22042c..6b0a210dcb 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "@leafygreen-ui/palette": "4.0.7", "@leafygreen-ui/popover": "11.0.17", "@leafygreen-ui/radio-box-group": "12.0.16", - "@leafygreen-ui/radio-group": "10.1.1", + "@leafygreen-ui/radio-group": "10.2.4", "@leafygreen-ui/search-input": "2.0.8", "@leafygreen-ui/segmented-control": "8.2.6", "@leafygreen-ui/select": "11.1.1", diff --git a/yarn.lock b/yarn.lock index e2137b5325..13d1fe5c3e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3434,29 +3434,14 @@ focus-trap-react "9.0.2" polished "^4.2.2" -"@leafygreen-ui/hooks@^7.3.3", "@leafygreen-ui/hooks@^7.4.0", "@leafygreen-ui/hooks@^7.5.0", "@leafygreen-ui/hooks@^7.7.1", "@leafygreen-ui/hooks@^7.7.3", "@leafygreen-ui/hooks@^7.7.5", "@leafygreen-ui/hooks@^7.7.8": +"@leafygreen-ui/hooks@^7.3.3", "@leafygreen-ui/hooks@^7.4.0", "@leafygreen-ui/hooks@^7.5.0", "@leafygreen-ui/hooks@^7.7.3", "@leafygreen-ui/hooks@^7.7.5", "@leafygreen-ui/hooks@^7.7.8": version "7.7.8" resolved "https://registry.yarnpkg.com/@leafygreen-ui/hooks/-/hooks-7.7.8.tgz#63b884067711c42c152edc185b7a2e8be474c264" integrity sha512-8n0GjAxIxXN1e7XcZ2bobdI56XCqbtH3AZTbWTgQdILnTdxuA/9+yif1zIP4L8shoUbcosuMwU5HRu4UnX9n1g== dependencies: lodash "^4.17.21" -"@leafygreen-ui/hooks@^8.0.0", "@leafygreen-ui/hooks@^8.0.1": - version "8.0.1" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/hooks/-/hooks-8.0.1.tgz#3f864f5be93e872c0884206643ee6b957972e17f" - integrity sha512-n++2Qdtv0UsJoSSCtrDU0Qlcq0JvSy+fzvvexDphqbchoC47DtgFqVfftq8UcmkvkkJOkTASrIZesV45rVJAiQ== - dependencies: - lodash "^4.17.21" - -"@leafygreen-ui/hooks@^8.1.0": - version "8.1.0" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/hooks/-/hooks-8.1.0.tgz#1f6fec4d7021a86a28ae8c84d353b6190183767c" - integrity sha512-BWuZ2vCeWxI6fYb6Kj7C7BcQji7PfuTOiB8PB9NW0fEtrC76p18eclwgCrlimaCLIV81/eLN07NTwR14OCpWHg== - dependencies: - "@leafygreen-ui/lib" "^13.2.0" - lodash "^4.17.21" - -"@leafygreen-ui/hooks@^8.1.1": +"@leafygreen-ui/hooks@^8.0.0", "@leafygreen-ui/hooks@^8.0.1", "@leafygreen-ui/hooks@^8.1.0", "@leafygreen-ui/hooks@^8.1.1": version "8.1.1" resolved "https://registry.yarnpkg.com/@leafygreen-ui/hooks/-/hooks-8.1.1.tgz#39ff22a762ea61146e9b0d136d73836e72103acc" integrity sha512-Ovh4/huQbM3UVSnHDQE0rWWG8bxZG7qdI2RZYtmUW/YbAL66GQx3jkfpuLlL3Npu5SxuS6b/Ai42sB2U6+Df0A== @@ -3565,7 +3550,7 @@ "@leafygreen-ui/hooks" "^8.0.0" "@leafygreen-ui/lib" "^13.0.0" -"@leafygreen-ui/lib@^10.0.0", "@leafygreen-ui/lib@^10.1.0", "@leafygreen-ui/lib@^10.2.2", "@leafygreen-ui/lib@^10.3.2", "@leafygreen-ui/lib@^10.3.3", "@leafygreen-ui/lib@^10.4.0", "@leafygreen-ui/lib@^10.4.3": +"@leafygreen-ui/lib@^10.0.0", "@leafygreen-ui/lib@^10.1.0", "@leafygreen-ui/lib@^10.2.2", "@leafygreen-ui/lib@^10.3.3", "@leafygreen-ui/lib@^10.4.0", "@leafygreen-ui/lib@^10.4.3": version "10.4.3" resolved "https://registry.yarnpkg.com/@leafygreen-ui/lib/-/lib-10.4.3.tgz#f5ebdabc82922067adee8f37833237685bb1b1a8" integrity sha512-p5BtXHeQsvLnnrN0eunPFZeaMtW9z7Mbvm2WOS9lvnAySj8xZp5Vn9Y3XjyYLbPhpGVBhhOAJFP3YMxbP9DKgg== @@ -3592,25 +3577,7 @@ lodash "^4.17.21" prop-types "^15.7.2" -"@leafygreen-ui/lib@^13.0.0", "@leafygreen-ui/lib@^13.1.0": - version "13.1.0" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/lib/-/lib-13.1.0.tgz#c594da94916a5dce6a3bf93adf2bcead4ff62e44" - integrity sha512-YDq/IYwhcIWYg8A81Uo2J/a+0VP9Pfbn2heUGfytLY9gYcrpMYL7kClAHwZzg8iS4iOaIexGcaUFu0I3OYFxyA== - dependencies: - "@storybook/csf" "^0.1.0" - lodash "^4.17.21" - prop-types "^15.7.2" - -"@leafygreen-ui/lib@^13.2.0": - version "13.2.0" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/lib/-/lib-13.2.0.tgz#e228121ba35aebb877e9f4c9e587729727b79452" - integrity sha512-ZolZG27hkorgH9tU/wV+oXRlC2x9yNNlB2QvgPXK1rAzMAIpUQJYEfny9PtBcHVLh5vWoKFShd7I2ZniEzvzZg== - dependencies: - "@storybook/csf" "^0.1.0" - lodash "^4.17.21" - prop-types "^15.7.2" - -"@leafygreen-ui/lib@^13.2.1": +"@leafygreen-ui/lib@^13.0.0", "@leafygreen-ui/lib@^13.1.0", "@leafygreen-ui/lib@^13.2.0", "@leafygreen-ui/lib@^13.2.1": version "13.2.1" resolved "https://registry.yarnpkg.com/@leafygreen-ui/lib/-/lib-13.2.1.tgz#4d4c62ff5ee6182532055f6825b8c9d68e522bfe" integrity sha512-b9EwTr65RU05rAh/dF8SHZ6yV6jPvPx6tu0IlXB/upk7Mdswjad83CI1ceF2pDlo8GPhCKlwFvPZlQCR1jqBXA== @@ -3777,17 +3744,17 @@ "@leafygreen-ui/palette" "^4.0.7" "@leafygreen-ui/tokens" "^2.2.0" -"@leafygreen-ui/radio-group@10.1.1": - version "10.1.1" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/radio-group/-/radio-group-10.1.1.tgz#e391ea296dc99658a2d020dccf3542c919d86f75" - integrity sha512-Af4lf1Ntd8GkjJWUeVSpgfCBkMK3I/I+aY/gLKeiLaSCohP5V47Okj7lY48ZpWX8H9+B23npvMW6z0o1Eo9wHQ== +"@leafygreen-ui/radio-group@10.2.4": + version "10.2.4" + resolved "https://registry.yarnpkg.com/@leafygreen-ui/radio-group/-/radio-group-10.2.4.tgz#42ea93512c7f555facb871c97ddbbf3d5c136d44" + integrity sha512-Jd54mKopU9rp7YDlnG/Aw+C3bSvE7CpVzJ9UFAgvWQP2FbqTIE5uDRibYipcf1R3AiOTVOm2H5i9xmHi+bi1xQ== dependencies: - "@leafygreen-ui/emotion" "^4.0.4" - "@leafygreen-ui/hooks" "^7.7.1" - "@leafygreen-ui/lib" "^10.3.2" - "@leafygreen-ui/palette" "^4.0.3" - "@leafygreen-ui/tokens" "^2.0.2" - "@leafygreen-ui/typography" "^16.2.1" + "@leafygreen-ui/emotion" "^4.0.7" + "@leafygreen-ui/hooks" "^8.0.0" + "@leafygreen-ui/lib" "^13.0.0" + "@leafygreen-ui/palette" "^4.0.7" + "@leafygreen-ui/tokens" "^2.2.0" + "@leafygreen-ui/typography" "^18.0.0" "@leafygreen-ui/ripple@^1.1.12": version "1.1.12" @@ -4021,14 +3988,7 @@ dependencies: "@leafygreen-ui/palette" "^3.4.5" -"@leafygreen-ui/tokens@^2.0.0", "@leafygreen-ui/tokens@^2.0.1", "@leafygreen-ui/tokens@^2.0.2", "@leafygreen-ui/tokens@^2.1.0", "@leafygreen-ui/tokens@^2.1.1", "@leafygreen-ui/tokens@^2.1.4", "@leafygreen-ui/tokens@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/tokens/-/tokens-2.2.0.tgz#8cae3fc84bd54e9d579ab6bd2a43fad3f9050fd9" - integrity sha512-hmRT1Sz6J9tv84ty1YPs1zmFewOCt/TghfbR0So5UtA5S2q4sVqjPZEpSvLmlxmtXIyl77fjU+uZYHpW2EID6w== - dependencies: - "@leafygreen-ui/palette" "^4.0.7" - -"@leafygreen-ui/tokens@^2.3.0": +"@leafygreen-ui/tokens@^2.0.0", "@leafygreen-ui/tokens@^2.0.1", "@leafygreen-ui/tokens@^2.1.0", "@leafygreen-ui/tokens@^2.1.1", "@leafygreen-ui/tokens@^2.1.4", "@leafygreen-ui/tokens@^2.2.0", "@leafygreen-ui/tokens@^2.3.0": version "2.3.0" resolved "https://registry.yarnpkg.com/@leafygreen-ui/tokens/-/tokens-2.3.0.tgz#33ec8416f423849c64174b387c2844cb41c24752" integrity sha512-8oDrQWRvUISitKLufO+9rpvQnJxU56sVUhTjR3O3sY7CkRo1vhHUV7F82oY3Gt6nBXVn82RrBTHzZ6F6LHlBvw== @@ -4107,7 +4067,7 @@ "@leafygreen-ui/palette" "^3.4.6" "@leafygreen-ui/tokens" "^1.4.1" -"@leafygreen-ui/typography@^16.0.0", "@leafygreen-ui/typography@^16.1.0", "@leafygreen-ui/typography@^16.2.1", "@leafygreen-ui/typography@^16.4.0", "@leafygreen-ui/typography@^16.5.1", "@leafygreen-ui/typography@^16.5.4": +"@leafygreen-ui/typography@^16.0.0", "@leafygreen-ui/typography@^16.1.0", "@leafygreen-ui/typography@^16.4.0", "@leafygreen-ui/typography@^16.5.1", "@leafygreen-ui/typography@^16.5.4": version "16.5.4" resolved "https://registry.yarnpkg.com/@leafygreen-ui/typography/-/typography-16.5.4.tgz#209839039b97be7c9eabddec85729eb8685abfc9" integrity sha512-E9U8HD3AfeMMr0ZLkrSz8FUagxGSAqPb+DqASmJAdax4h82EXLJGBDmePQr4C+AVCx1pb5UZrckr67eBHCalnA== @@ -4119,19 +4079,7 @@ "@leafygreen-ui/polymorphic" "^1.3.5" "@leafygreen-ui/tokens" "^2.1.4" -"@leafygreen-ui/typography@^18.0.0", "@leafygreen-ui/typography@^18.0.1": - version "18.0.1" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/typography/-/typography-18.0.1.tgz#ca1a05f1e0d2defc9b50838d7ebe64e42c1f2345" - integrity sha512-XPTya1YVmpiGInxrD//aF0uCvhpnGPKDTkkZKD0Mk+bPP3qXaXtP8YwdrGnMLEJsuRG3ipmOrA5/YXcNQDeQkQ== - dependencies: - "@leafygreen-ui/emotion" "^4.0.7" - "@leafygreen-ui/icon" "^11.25.0" - "@leafygreen-ui/lib" "^13.0.0" - "@leafygreen-ui/palette" "^4.0.7" - "@leafygreen-ui/polymorphic" "^1.3.6" - "@leafygreen-ui/tokens" "^2.1.4" - -"@leafygreen-ui/typography@^18.1.0": +"@leafygreen-ui/typography@^18.0.0", "@leafygreen-ui/typography@^18.0.1", "@leafygreen-ui/typography@^18.1.0": version "18.1.0" resolved "https://registry.yarnpkg.com/@leafygreen-ui/typography/-/typography-18.1.0.tgz#e305eac65a1ad5ae770cd6253fea644edf1103de" integrity sha512-95teGvoTG4sFnf2WDw2mf5AWrOxEGJVvpCHoBqjUU+ySWg5j/pPhG+cXdfUpqxM9iCPTJfb0iAQk93687Zst9A== From a8a9254996e31d676ff18974b10b171f6a665aee Mon Sep 17 00:00:00 2001 From: Sophie Stadler Date: Thu, 8 Feb 2024 10:42:22 -0500 Subject: [PATCH 2/3] Fix flaky test, codegen --- src/gql/generated/types.ts | 2 +- src/pages/distroSettings/DistroSelect/DistroSelect.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gql/generated/types.ts b/src/gql/generated/types.ts index 1498b53f36..fbf2a187b8 100644 --- a/src/gql/generated/types.ts +++ b/src/gql/generated/types.ts @@ -2583,6 +2583,7 @@ export type TaskEndDetail = { export type TaskEventLogData = { __typename?: "TaskEventLogData"; + blockedOn?: Maybe; hostId?: Maybe; jiraIssue?: Maybe; jiraLink?: Maybe; @@ -2651,7 +2652,6 @@ export type TaskLogs = { __typename?: "TaskLogs"; agentLogs: Array; allLogs: Array; - defaultLogger: Scalars["String"]["output"]; eventLogs: Array; execution: Scalars["Int"]["output"]; systemLogs: Array; diff --git a/src/pages/distroSettings/DistroSelect/DistroSelect.test.tsx b/src/pages/distroSettings/DistroSelect/DistroSelect.test.tsx index 664be60ae1..e9c95a7aec 100644 --- a/src/pages/distroSettings/DistroSelect/DistroSelect.test.tsx +++ b/src/pages/distroSettings/DistroSelect/DistroSelect.test.tsx @@ -22,7 +22,7 @@ describe("distro select", () => { await waitFor(() => { expect(screen.getByDataCy("distro-select")).toBeInTheDocument(); }); - expect(screen.getByLabelText("Distro")).toHaveValue("localhost"); + expect(screen.getByDisplayValue("localhost")).toBeVisible(); }); it("selecting a different distro will navigate to the correct URL", async () => { From 1a2bd8419f5630a97e47b0b12daee6e826a95ddb Mon Sep 17 00:00:00 2001 From: Sophie Stadler Date: Thu, 8 Feb 2024 11:15:23 -0500 Subject: [PATCH 3/3] Update snapshots --- .../__snapshots__/SpruceForm.stories.storyshot | 4 ++-- .../__snapshots__/TableControl.stories.storyshot | 6 +++--- .../__snapshots__/TupleSelect.stories.storyshot | 6 +++--- ...pleSelectWithRegexConditional.stories.storyshot | 14 +++++++------- .../__snapshots__/ProjectHealth.stories.storyshot | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/SpruceForm/__snapshots__/SpruceForm.stories.storyshot b/src/components/SpruceForm/__snapshots__/SpruceForm.stories.storyshot index 82308ae745..2466b31ba7 100644 --- a/src/components/SpruceForm/__snapshots__/SpruceForm.stories.storyshot +++ b/src/components/SpruceForm/__snapshots__/SpruceForm.stories.storyshot @@ -578,7 +578,7 @@ exports[`Snapshot Tests SpruceForm.stories Example2 1`] = ` >