-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat(ui): adding the ability to view just the output section #15674
Conversation
…egraf config for v2
Merge branch 'master' of github.com:influxdata/influxdb into alex_templated_snippets
Merge branch 'master' of github.com:influxdata/influxdb into alex_templated_snippets
Merge branch 'alex_templated_snippets' of github.com:influxdata/influxdb into alex_feat_new_overlay
Merge remote-tracking branch 'origin/master' into alex_feat_new_overlay
Merge branch 'master' of github.com:influxdata/influxdb into alex_feat_new_overlay
This reverts commit 63171fd.
@@ -1,5 +1,8 @@ | |||
import {Organization} from '../../src/types' | |||
|
|||
// a generous commitment to delivering this page in a loaded state | |||
const PAGE_LOAD_SLA = 10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this just unbreaks the test locally for me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, gives it more time to load
.should('have.length', 0) | ||
.then(() => { | ||
cy.contains('Create Configuration') | ||
cy.getByTestID('table-row').should('have.length', 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just moved this test outside of the then
Merge branch 'master' of github.com:influxdata/influxdb into alex_feat_new_overlay
@@ -18,6 +21,7 @@ describe('Checks', () => { | |||
cy.visit(`${orgs}/${id}${alerting}`) | |||
}) | |||
}) | |||
cy.get('[data-testid="resource-list--body"]', {timeout: PAGE_LOAD_SLA}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait for a test agnostic load event to signal that the tests are ready to run
@@ -76,6 +117,7 @@ describe('Collectors', () => { | |||
}) | |||
|
|||
cy.reload() | |||
cy.get('[data-testid="resource-list--body"]', {timeout: PAGE_LOAD_SLA}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
always gotta wait for that page to be ready 😬
cy.getByTestID('bucket-sorter') | ||
.click() | ||
.then(() => { | ||
bucketz.sort() | ||
// NOTE: this then is just here to let me scope this variable (alex) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or else it's mutation falls outside of the magic promise chain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine as far as i can tell. Lots going on, looks like this can be exported if it needs to be
@@ -1,5 +1,8 @@ | |||
import {Organization} from '../../src/types' | |||
|
|||
// a generous commitment to delivering this page in a loaded state | |||
const PAGE_LOAD_SLA = 10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, gives it more time to load
Closes #14924
Added a popup on a route, activated by a button, to help users view just the parts of the telegraf config required for migrating to V2.