Browse Source

fix: quick test duration column verification

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2503/head
Raju Udava 2 years ago
parent
commit
c33ef4aa82
  1. 7
      scripts/cypress/integration/common/9a_QuickTest.js

7
scripts/cypress/integration/common/9a_QuickTest.js

@ -17,11 +17,11 @@ let records = {
Number: "1", Number: "1",
Value: "$1.00", Value: "$1.00",
Percent: "0.01", Percent: "0.01",
Duration: "00:01",
}; };
// links/ computed fields // links/ computed fields
let records2 = { let records2 = {
Duration: "00:01",
Done: true, Done: true,
Date: "2022-05-31", Date: "2022-05-31",
Rating: "1", Rating: "1",
@ -89,6 +89,11 @@ export const genTest = (apiType, dbType) => {
// date // date
// duration
mainPage.getCell("Duration", 1).find('input').then(($e) => {
expect($e[0].value).to.equal(records2.Duration)
})
// rating // rating
mainPage mainPage
.getCell("Rating", 1) .getCell("Rating", 1)

Loading…
Cancel
Save