Skip to content

Commit

Permalink
Merge pull request #15435 from influxdata/zs-dashboardtestfix-#15388
Browse files Browse the repository at this point in the history
(Fix) Create dashboard from empty state test
  • Loading branch information
zoesteinkamp authored Oct 16, 2019
2 parents cde064b + f581ef1 commit 36faf72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/cypress/e2e/dashboardsIndex.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Dashboards', () => {
})
})

it.skip('can create a dashboard from empty state', () => {
it('can create a dashboard from empty state', () => {
cy.getByTestID('empty-dashboards-list').within(() => {
cy.getByTestID('add-resource-dropdown--button').click()
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ class DashboardIndex extends PureComponent<Props, State> {
const {searchTerm} = this.state
return (
<>
<Page titleTag={pageTitleSuffixer(['Dashboards'])}>
<Page
testID="empty-dashboards-list"
titleTag={pageTitleSuffixer(['Dashboards'])}
>
<Page.Header fullWidth={false}>
<Page.Header.Left>
<PageTitleWithOrg title="Dashboards" />
Expand Down

0 comments on commit 36faf72

Please sign in to comment.