|
|
@ -16,12 +16,12 @@ let records = { |
|
|
|
URL: "www.a.com", |
|
|
|
URL: "www.a.com", |
|
|
|
Number: "1", |
|
|
|
Number: "1", |
|
|
|
Value: "$1.00", |
|
|
|
Value: "$1.00", |
|
|
|
Percent: "1%", // 0.01 in AT
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// links/ computed fields
|
|
|
|
// links/ computed fields
|
|
|
|
let records2 = { |
|
|
|
let records2 = { |
|
|
|
Duration: "00:01", |
|
|
|
Duration: "00:01", |
|
|
|
|
|
|
|
Percent: "1%", // 0.01 in AT
|
|
|
|
Done: true, |
|
|
|
Done: true, |
|
|
|
Date: "2022-05-31", |
|
|
|
Date: "2022-05-31", |
|
|
|
Rating: "1", |
|
|
|
Rating: "1", |
|
|
@ -118,6 +118,11 @@ export const genTest = (apiType, dbType, testMode) => { |
|
|
|
|
|
|
|
|
|
|
|
// date
|
|
|
|
// date
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// percent
|
|
|
|
|
|
|
|
mainPage.getCell("Percent", cellIdx).find('input').then(($e) => { |
|
|
|
|
|
|
|
expect($e[0].value).to.equal(records2.Percent) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
// duration
|
|
|
|
// duration
|
|
|
|
mainPage.getCell("Duration", cellIdx).find('input').then(($e) => { |
|
|
|
mainPage.getCell("Duration", cellIdx).find('input').then(($e) => { |
|
|
|
expect($e[0].value).to.equal(records2.Duration) |
|
|
|
expect($e[0].value).to.equal(records2.Duration) |
|
|
|