chore(ui): upgrade clockface dependency to 2.3.4 (#19352)

* chore: upgrade clockface dependency

* fix: ensure e2e tests are passing
pull/19360/head^2
alexpaxton 2020-08-17 15:47:46 -07:00 committed by GitHub
parent a0df39b698
commit 26cf6af07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 6 deletions

View File

@ -40,6 +40,8 @@ describe('Buckets', () => {
const labelName = 'l1' const labelName = 'l1'
cy.getByTestID('inline-labels--popover--contents').type(labelName) cy.getByTestID('inline-labels--popover--contents').type(labelName)
cy.getByTestID('inline-labels--create-new').click() cy.getByTestID('inline-labels--create-new').click()
// Wait for animation to complete
cy.wait(500)
cy.getByTestID('create-label-form--submit').click() cy.getByTestID('create-label-form--submit').click()
// Delete the label // Delete the label

View File

@ -210,7 +210,9 @@ describe('Checks', () => {
cy.get('body').tab() cy.get('body').tab()
cy.getByTestID('filter--input checks').should('have.focus') cy.getByTestID('filter--input checks').should('have.focus')
cy.focused().tab() cy.focused()
.tab()
.tab()
cy.getByTestID('filter--input endpoints').should('have.focus') cy.getByTestID('filter--input endpoints').should('have.focus')
cy.focused().tab() cy.focused().tab()

View File

@ -132,7 +132,7 @@
"webpack-merge": "^4.2.1" "webpack-merge": "^4.2.1"
}, },
"dependencies": { "dependencies": {
"@influxdata/clockface": "2.3.1", "@influxdata/clockface": "2.3.4",
"@influxdata/flux": "^0.5.1", "@influxdata/flux": "^0.5.1",
"@influxdata/flux-lsp-browser": "^0.5.11", "@influxdata/flux-lsp-browser": "^0.5.11",
"@influxdata/giraffe": "0.24.0", "@influxdata/giraffe": "0.24.0",

View File

@ -48,6 +48,7 @@ const CheckEOSaveButton: FunctionComponent<Props> = ({
hideEvent={PopoverInteraction.None} hideEvent={PopoverInteraction.None}
color={ComponentColor.Secondary} color={ComponentColor.Secondary}
appearance={Appearance.Outline} appearance={Appearance.Outline}
forceToTop={true}
contents={() => ( contents={() => (
<div className="query-checklist--popover"> <div className="query-checklist--popover">
<p>{`To create a ${checkType} check, you must select:`}</p> <p>{`To create a ${checkType} check, you must select:`}</p>

View File

@ -747,10 +747,10 @@
debug "^3.1.0" debug "^3.1.0"
lodash.once "^4.1.1" lodash.once "^4.1.1"
"@influxdata/clockface@2.3.1": "@influxdata/clockface@2.3.4":
version "2.3.1" version "2.3.4"
resolved "https://registry.yarnpkg.com/@influxdata/clockface/-/clockface-2.3.1.tgz#562a218e62b50ba16cd4a4e1e88b2e335289c595" resolved "https://registry.yarnpkg.com/@influxdata/clockface/-/clockface-2.3.4.tgz#9c496601253e1d49cbeae29a7b9cfb54862785f6"
integrity sha512-NqPaCT/vUOCEnjAekfECAvUS3OiSwHREwG/5YuawCw5EoswcUc9h6sMSo2spPxXQuiVAB4RcsxeX3+hqP6pU7w== integrity sha512-mmz3YElK8Ho+1onEafuas6sVhIT638JA4NbDTO3bVJgK1TG7AnU4rQP+c6fj7vZSfvrIwtOwGaMONJTaww5o6w==
"@influxdata/flux-lsp-browser@^0.5.11": "@influxdata/flux-lsp-browser@^0.5.11":
version "0.5.11" version "0.5.11"