From 3d22c7158d0096567174f54a21a568fe231a2656 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 15 Jun 2023 21:28:06 +0530 Subject: [PATCH] test: shared view Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../fixtures/expectedDataSqlite.txt | 36 +++++++++---------- .../playwright/tests/db/viewGridShare.spec.ts | 8 ++--- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/tests/playwright/fixtures/expectedDataSqlite.txt b/tests/playwright/fixtures/expectedDataSqlite.txt index 440c160aaa..95ec7b0c4b 100644 --- a/tests/playwright/fixtures/expectedDataSqlite.txt +++ b/tests/playwright/fixtures/expectedDataSqlite.txt @@ -1,19 +1,19 @@ Address,District,PostalCode,Phone,Customer List,Staff List,City -1013 Tabuk Boulevard," ",96203," ",2,,Kanchrapara -1168 Najafabad Parkway," ",40301," ",1,,Kabul -1294 Firozabad Drive," ",70618," ",2,,Pingxiang -1342 Abha Boulevard," ",10714," ",2,,Bucuresti -1368 Maracabo Boulevard," ",32716," ",2,,South Hill -1427 Tabuk Place," ",31342," ",2,,Cape Coral -1519 Santiago de los Caballeros Loop," ",22025," ",2,,Mwene-Ditu -1661 Abha Drive," ",14400," ",1,,Pudukkottai -17 Kabul Boulevard," ",38594," ",1,,Nagareyama -1838 Tabriz Lane," ",1195," ",1,,Dhaka -1888 Kabul Drive," ",20936," ",1,,Ife -1892 Nabereznyje Telny Lane," ",28396," ",2,,Tafuna -1993 Tabuk Lane," ",64221," ",2,,Tambaram -217 Botshabelo Place," ",49521," ",2,,Davao -381 Kabul Way," ",87272," ",2,,Hsichuh -44 Najafabad Way," ",61391," ",2,,Donostia-San Sebastin -48 Maracabo Place," ",1570," ",1,,Talavera -669 Firozabad Loop," ",92265," ",1,,al-Ayn \ No newline at end of file +1013 Tabuk Boulevard," ",96203," ",1,0,Kanchrapara +1168 Najafabad Parkway," ",40301," ",1,0,Kabul +1294 Firozabad Drive," ",70618," ",1,0,Pingxiang +1342 Abha Boulevard," ",10714," ",1,0,Bucuresti +1368 Maracabo Boulevard," ",32716," ",1,0,South Hill +1427 Tabuk Place," ",31342," ",1,0,Cape Coral +1519 Santiago de los Caballeros Loop," ",22025," ",1,0,Mwene-Ditu +1661 Abha Drive," ",14400," ",1,0,Pudukkottai +17 Kabul Boulevard," ",38594," ",1,0,Nagareyama +1838 Tabriz Lane," ",1195," ",1,0,Dhaka +1888 Kabul Drive," ",20936," ",1,0,Ife +1892 Nabereznyje Telny Lane," ",28396," ",1,0,Tafuna +1993 Tabuk Lane," ",64221," ",1,0,Tambaram +217 Botshabelo Place," ",49521," ",1,0,Davao +381 Kabul Way," ",87272," ",1,0,Hsichuh +44 Najafabad Way," ",61391," ",1,0,Donostia-San Sebastin +48 Maracabo Place," ",1570," ",1,0,Talavera +669 Firozabad Loop," ",92265," ",1,0,al-Ayn \ No newline at end of file diff --git a/tests/playwright/tests/db/viewGridShare.spec.ts b/tests/playwright/tests/db/viewGridShare.spec.ts index 659979caaf..487a765b60 100644 --- a/tests/playwright/tests/db/viewGridShare.spec.ts +++ b/tests/playwright/tests/db/viewGridShare.spec.ts @@ -279,13 +279,13 @@ const sqliteExpectedRecords2 = [ const expectedVirtualRecords = [ { index: 0, columnHeader: 'Customer List', count: 1, value: ['2'] }, { index: 1, columnHeader: 'Customer List', count: 1, value: ['2'] }, - { index: 0, columnHeader: 'City', count: 1, value: ['Kanchrapara'] }, - { index: 1, columnHeader: 'City', count: 1, value: ['Tafuna'] }, + { index: 0, columnHeader: 'City', count: 1, type: 'bt', value: ['Kanchrapara'] }, + { index: 1, columnHeader: 'City', count: 1, type: 'bt', value: ['Tafuna'] }, ]; const sqliteExpectedVirtualRecords = [ { index: 0, columnHeader: 'Customer List', count: 1, value: ['2'] }, { index: 1, columnHeader: 'Customer List', count: 1, value: ['1'] }, - { index: 0, columnHeader: 'City', count: 1, value: ['Davao'] }, - { index: 1, columnHeader: 'City', count: 1, value: ['Nagareyama'] }, + { index: 0, columnHeader: 'City', count: 1, type: 'bt', value: ['Davao'] }, + { index: 1, columnHeader: 'City', count: 1, type: 'bt', value: ['Nagareyama'] }, ];