Browse Source

test: shared view

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5848/head
Raju Udava 1 year ago committed by Pranav C
parent
commit
3d22c7158d
  1. 36
      tests/playwright/fixtures/expectedDataSqlite.txt
  2. 8
      tests/playwright/tests/db/viewGridShare.spec.ts

36
tests/playwright/fixtures/expectedDataSqlite.txt

@ -1,19 +1,19 @@
Address,District,PostalCode,Phone,Customer List,Staff List,City Address,District,PostalCode,Phone,Customer List,Staff List,City
1013 Tabuk Boulevard," ",96203," ",2,,Kanchrapara 1013 Tabuk Boulevard," ",96203," ",1,0,Kanchrapara
1168 Najafabad Parkway," ",40301," ",1,,Kabul 1168 Najafabad Parkway," ",40301," ",1,0,Kabul
1294 Firozabad Drive," ",70618," ",2,,Pingxiang 1294 Firozabad Drive," ",70618," ",1,0,Pingxiang
1342 Abha Boulevard," ",10714," ",2,,Bucuresti 1342 Abha Boulevard," ",10714," ",1,0,Bucuresti
1368 Maracabo Boulevard," ",32716," ",2,,South Hill 1368 Maracabo Boulevard," ",32716," ",1,0,South Hill
1427 Tabuk Place," ",31342," ",2,,Cape Coral 1427 Tabuk Place," ",31342," ",1,0,Cape Coral
1519 Santiago de los Caballeros Loop," ",22025," ",2,,Mwene-Ditu 1519 Santiago de los Caballeros Loop," ",22025," ",1,0,Mwene-Ditu
1661 Abha Drive," ",14400," ",1,,Pudukkottai 1661 Abha Drive," ",14400," ",1,0,Pudukkottai
17 Kabul Boulevard," ",38594," ",1,,Nagareyama 17 Kabul Boulevard," ",38594," ",1,0,Nagareyama
1838 Tabriz Lane," ",1195," ",1,,Dhaka 1838 Tabriz Lane," ",1195," ",1,0,Dhaka
1888 Kabul Drive," ",20936," ",1,,Ife 1888 Kabul Drive," ",20936," ",1,0,Ife
1892 Nabereznyje Telny Lane," ",28396," ",2,,Tafuna 1892 Nabereznyje Telny Lane," ",28396," ",1,0,Tafuna
1993 Tabuk Lane," ",64221," ",2,,Tambaram 1993 Tabuk Lane," ",64221," ",1,0,Tambaram
217 Botshabelo Place," ",49521," ",2,,Davao 217 Botshabelo Place," ",49521," ",1,0,Davao
381 Kabul Way," ",87272," ",2,,Hsichuh 381 Kabul Way," ",87272," ",1,0,Hsichuh
44 Najafabad Way," ",61391," ",2,,Donostia-San Sebastin 44 Najafabad Way," ",61391," ",1,0,Donostia-San Sebastin
48 Maracabo Place," ",1570," ",1,,Talavera 48 Maracabo Place," ",1570," ",1,0,Talavera
669 Firozabad Loop," ",92265," ",1,,al-Ayn 669 Firozabad Loop," ",92265," ",1,0,al-Ayn

8
tests/playwright/tests/db/viewGridShare.spec.ts

@ -279,13 +279,13 @@ const sqliteExpectedRecords2 = [
const expectedVirtualRecords = [ const expectedVirtualRecords = [
{ index: 0, columnHeader: 'Customer List', count: 1, value: ['2'] }, { index: 0, columnHeader: 'Customer List', count: 1, value: ['2'] },
{ index: 1, 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: 0, columnHeader: 'City', count: 1, type: 'bt', value: ['Kanchrapara'] },
{ index: 1, columnHeader: 'City', count: 1, value: ['Tafuna'] }, { index: 1, columnHeader: 'City', count: 1, type: 'bt', value: ['Tafuna'] },
]; ];
const sqliteExpectedVirtualRecords = [ const sqliteExpectedVirtualRecords = [
{ index: 0, columnHeader: 'Customer List', count: 1, value: ['2'] }, { index: 0, columnHeader: 'Customer List', count: 1, value: ['2'] },
{ index: 1, columnHeader: 'Customer List', count: 1, value: ['1'] }, { index: 1, columnHeader: 'Customer List', count: 1, value: ['1'] },
{ index: 0, columnHeader: 'City', count: 1, value: ['Davao'] }, { index: 0, columnHeader: 'City', count: 1, type: 'bt', value: ['Davao'] },
{ index: 1, columnHeader: 'City', count: 1, value: ['Nagareyama'] }, { index: 1, columnHeader: 'City', count: 1, type: 'bt', value: ['Nagareyama'] },
]; ];

Loading…
Cancel
Save