|
|
@ -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) |
|
|
|