-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'getredash:master' into master
- Loading branch information
Showing
20 changed files
with
488 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
client/cypress/integration/visualizations/table/.mocks/wide-dataset.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
export function expectTableToHaveLength(length) { | ||
cy.getByTestId("TableVisualization") | ||
.find("tbody tr.ant-table-row") | ||
.should("have.length", length); | ||
cy.getByTestId("TableVisualization").find("tbody tr").should("have.length", length); | ||
} | ||
|
||
export function expectFirstColumnToHaveMembers(values) { | ||
cy.getByTestId("TableVisualization") | ||
.find("tbody tr.ant-table-row td:first-child") | ||
.then($cell => Cypress.$.map($cell, item => Cypress.$(item).text())) | ||
.then(firstColumnCells => expect(firstColumnCells).to.have.members(values)); | ||
.find("tbody tr td:first-child") | ||
.then(($cell) => Cypress.$.map($cell, (item) => Cypress.$(item).text())) | ||
.then((firstColumnCells) => expect(firstColumnCells).to.have.members(values)); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.