Cypress Test Fix - createView.spec.js
This commit is contained in:
parent
34a19ffda2
commit
e4dd6fd137
|
@ -54,7 +54,7 @@ context('Create a View', () => {
|
||||||
expect($headers).to.have.length(7)
|
expect($headers).to.have.length(7)
|
||||||
const headers = $headers.map((i, header) => Cypress.$(header).text())
|
const headers = $headers.map((i, header) => Cypress.$(header).text())
|
||||||
expect(headers.get()).to.deep.eq([
|
expect(headers.get()).to.deep.eq([
|
||||||
"group",
|
"field",
|
||||||
"sum",
|
"sum",
|
||||||
"min",
|
"min",
|
||||||
"max",
|
"max",
|
||||||
|
@ -66,7 +66,7 @@ context('Create a View', () => {
|
||||||
cy.get("tbody td").should(($values) => {
|
cy.get("tbody td").should(($values) => {
|
||||||
const values = $values.map((i, value) => Cypress.$(value).text())
|
const values = $values.map((i, value) => Cypress.$(value).text())
|
||||||
expect(values.get()).to.deep.eq([
|
expect(values.get()).to.deep.eq([
|
||||||
"null",
|
"age",
|
||||||
"155",
|
"155",
|
||||||
"20",
|
"20",
|
||||||
"49",
|
"49",
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -23,7 +23,7 @@ Object {
|
||||||
"field": Object {
|
"field": Object {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
},
|
},
|
||||||
"max": Object {
|
"max": Object {l
|
||||||
"type": "number",
|
"type": "number",
|
||||||
},
|
},
|
||||||
"min": Object {
|
"min": Object {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue