From cc9aa247f4416cac727703e60923588a1a096e65 Mon Sep 17 00:00:00 2001 From: starbirdtech383 Date: Thu, 28 Dec 2023 00:47:51 +0530 Subject: [PATCH] test fix | sqlite functions LOG not supported --- .../tests/db/columns/columnFormula.spec.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/tests/playwright/tests/db/columns/columnFormula.spec.ts b/tests/playwright/tests/db/columns/columnFormula.spec.ts index 3383778620..b9ca6de3ce 100644 --- a/tests/playwright/tests/db/columns/columnFormula.spec.ts +++ b/tests/playwright/tests/db/columns/columnFormula.spec.ts @@ -187,16 +187,10 @@ const formulaDataByDbType = (context: NcContext, index: number) => { }, { formula: `LOG({CityId}) + EXP({CityId}) + POWER({CityId}, 3) + SQRT({CountryId})`, - result: - isPg(context) || isSqlite(context) - ? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087'] - : [ - '13.04566088154786', - '25.137588417628013', - '58.23402483297667', - '127.73041108667896', - '284.8714548168068', - ], + result: isPg(context) + ? ['13.04566088154786', '24.74547123273205', '57.61253379902822', '126.94617671688704', '283.9609869087087'] + : ['13.04566088154786', '25.137588417628013', '58.23402483297667', '127.73041108667896', '284.8714548168068'], + unSupDbType: ['sqlite3'], }, { formula: `NOW()`,