Skip to content

Commit 26cf6af

Browse files
authored
chore(ui): upgrade clockface dependency to 2.3.4 (#19352)
* chore: upgrade clockface dependency * fix: ensure e2e tests are passing
1 parent a0df39b commit 26cf6af

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

ui/cypress/e2e/buckets.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ describe('Buckets', () => {
4040
const labelName = 'l1'
4141
cy.getByTestID('inline-labels--popover--contents').type(labelName)
4242
cy.getByTestID('inline-labels--create-new').click()
43+
// Wait for animation to complete
44+
cy.wait(500)
4345
cy.getByTestID('create-label-form--submit').click()
4446

4547
// Delete the label

ui/cypress/e2e/checks.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ describe('Checks', () => {
210210
cy.get('body').tab()
211211
cy.getByTestID('filter--input checks').should('have.focus')
212212

213-
cy.focused().tab()
213+
cy.focused()
214+
.tab()
215+
.tab()
214216
cy.getByTestID('filter--input endpoints').should('have.focus')
215217

216218
cy.focused().tab()

ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"webpack-merge": "^4.2.1"
133133
},
134134
"dependencies": {
135-
"@influxdata/clockface": "2.3.1",
135+
"@influxdata/clockface": "2.3.4",
136136
"@influxdata/flux": "^0.5.1",
137137
"@influxdata/flux-lsp-browser": "^0.5.11",
138138
"@influxdata/giraffe": "0.24.0",

ui/src/checks/components/CheckEOSaveButton.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const CheckEOSaveButton: FunctionComponent<Props> = ({
4848
hideEvent={PopoverInteraction.None}
4949
color={ComponentColor.Secondary}
5050
appearance={Appearance.Outline}
51+
forceToTop={true}
5152
contents={() => (
5253
<div className="query-checklist--popover">
5354
<p>{`To create a ${checkType} check, you must select:`}</p>

ui/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -747,10 +747,10 @@
747747
debug "^3.1.0"
748748
lodash.once "^4.1.1"
749749

750-
"@influxdata/[email protected].1":
751-
version "2.3.1"
752-
resolved "https://registry.yarnpkg.com/@influxdata/clockface/-/clockface-2.3.1.tgz#562a218e62b50ba16cd4a4e1e88b2e335289c595"
753-
integrity sha512-NqPaCT/vUOCEnjAekfECAvUS3OiSwHREwG/5YuawCw5EoswcUc9h6sMSo2spPxXQuiVAB4RcsxeX3+hqP6pU7w==
750+
"@influxdata/[email protected].4":
751+
version "2.3.4"
752+
resolved "https://registry.yarnpkg.com/@influxdata/clockface/-/clockface-2.3.4.tgz#9c496601253e1d49cbeae29a7b9cfb54862785f6"
753+
integrity sha512-mmz3YElK8Ho+1onEafuas6sVhIT638JA4NbDTO3bVJgK1TG7AnU4rQP+c6fj7vZSfvrIwtOwGaMONJTaww5o6w==
754754

755755
"@influxdata/flux-lsp-browser@^0.5.11":
756756
version "0.5.11"

0 commit comments

Comments
 (0)