Browse Source

chore: test suite reorg

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5997/head
Raju Udava 1 year ago
parent
commit
d3e05592fe
  1. 10
      tests/playwright/tests/db/columns/columnAttachments.spec.ts
  2. 6
      tests/playwright/tests/db/columns/columnBarcode.spec.ts
  3. 6
      tests/playwright/tests/db/columns/columnCheckbox.spec.ts
  4. 4
      tests/playwright/tests/db/columns/columnDateTime.spec.ts
  5. 4
      tests/playwright/tests/db/columns/columnDuration.spec.ts
  6. 6
      tests/playwright/tests/db/columns/columnFormula.spec.ts
  7. 6
      tests/playwright/tests/db/columns/columnGeoData.spec.ts
  8. 4
      tests/playwright/tests/db/columns/columnLinkToAnotherRecord.spec.ts
  9. 4
      tests/playwright/tests/db/columns/columnLookupRollup.spec.ts
  10. 8
      tests/playwright/tests/db/columns/columnLtarDragdrop.spec.ts
  11. 4
      tests/playwright/tests/db/columns/columnMenuOperations.spec.ts
  12. 8
      tests/playwright/tests/db/columns/columnMultiSelect.spec.ts
  13. 6
      tests/playwright/tests/db/columns/columnQrCode.spec.ts
  14. 6
      tests/playwright/tests/db/columns/columnRating.spec.ts
  15. 4
      tests/playwright/tests/db/columns/columnRelationalExtendedTests.spec.ts
  16. 8
      tests/playwright/tests/db/columns/columnSingleSelect.spec.ts
  17. 12
      tests/playwright/tests/db/features/baseShare.spec.ts
  18. 14
      tests/playwright/tests/db/features/erd.spec.ts
  19. 10
      tests/playwright/tests/db/features/expandedFormUrl.spec.ts
  20. 12
      tests/playwright/tests/db/features/filters.spec.ts
  21. 8
      tests/playwright/tests/db/features/findRowByScanner.spec.ts
  22. 10
      tests/playwright/tests/db/features/import.spec.ts
  23. 6
      tests/playwright/tests/db/features/keyboardShortcuts.spec.ts
  24. 6
      tests/playwright/tests/db/features/language.spec.ts
  25. 11
      tests/playwright/tests/db/features/metaLTAR.spec.ts
  26. 8
      tests/playwright/tests/db/features/metaSync.spec.ts
  27. 8
      tests/playwright/tests/db/features/mobileMode.spec.ts
  28. 4
      tests/playwright/tests/db/features/pagination.spec.ts
  29. 6
      tests/playwright/tests/db/features/swagger.spec.ts
  30. 12
      tests/playwright/tests/db/features/timezone.spec.ts
  31. 12
      tests/playwright/tests/db/features/undo-redo.spec.ts
  32. 12
      tests/playwright/tests/db/features/updateBulk.ts
  33. 8
      tests/playwright/tests/db/features/verticalFillHandle.spec.ts
  34. 12
      tests/playwright/tests/db/features/webhook.spec.ts
  35. 6
      tests/playwright/tests/db/general/cellSelection.spec.ts
  36. 2
      tests/playwright/tests/db/general/megaTable.spec.ts
  37. 16
      tests/playwright/tests/db/general/projectOperations.spec.ts
  38. 6
      tests/playwright/tests/db/general/tableColumnOperation.spec.ts
  39. 10
      tests/playwright/tests/db/general/tableOperations.spec.ts
  40. 6
      tests/playwright/tests/db/general/toolbarOperations.spec.ts
  41. 6
      tests/playwright/tests/db/general/viewMenu.spec.ts
  42. 6
      tests/playwright/tests/db/general/views.spec.ts
  43. 8
      tests/playwright/tests/db/users&Accounts/accountLicense.spec.ts
  44. 6
      tests/playwright/tests/db/users&Accounts/accountTokenManagement.spec.ts
  45. 12
      tests/playwright/tests/db/users&Accounts/accountUserManagement.spec.ts
  46. 10
      tests/playwright/tests/db/users&Accounts/accountUserSettings.spec.ts
  47. 16
      tests/playwright/tests/db/users&Accounts/authChangePassword.spec.ts
  48. 12
      tests/playwright/tests/db/users&Accounts/rolesCreate.spec.ts
  49. 8
      tests/playwright/tests/db/users&Accounts/rolesPreview.spec.ts
  50. 4
      tests/playwright/tests/db/users&Accounts/rolesSuperUser.spec.ts
  51. 12
      tests/playwright/tests/db/views/viewForm.spec.ts
  52. 6
      tests/playwright/tests/db/views/viewFormShareSurvey.spec.ts
  53. 6
      tests/playwright/tests/db/views/viewGridShare.spec.ts
  54. 8
      tests/playwright/tests/db/views/viewKanban.spec.ts
  55. 6
      tests/playwright/tests/db/views/viewMap.spec.ts

10
tests/playwright/tests/db/columnAttachments.spec.ts → tests/playwright/tests/db/columns/columnAttachments.spec.ts

@ -1,9 +1,9 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { SharedFormPage } from '../../pages/SharedForm'; import { SharedFormPage } from '../../../pages/SharedForm';
import setup from '../../setup'; import setup from '../../../setup';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import { AccountLicensePage } from '../../pages/Account/License'; import { AccountLicensePage } from '../../../pages/Account/License';
test.describe('Attachment column', () => { test.describe('Attachment column', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

6
tests/playwright/tests/db/columnBarcode.spec.ts → tests/playwright/tests/db/columns/columnBarcode.spec.ts

@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
interface ExpectedBarcodeData { interface ExpectedBarcodeData {
referencedValue: string; referencedValue: string;

6
tests/playwright/tests/db/columnCheckbox.spec.ts → tests/playwright/tests/db/columns/columnCheckbox.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { UITypes } from 'nocodb-sdk'; import { UITypes } from 'nocodb-sdk';
import { Api } from 'nocodb-sdk'; import { Api } from 'nocodb-sdk';
let api: Api<any>; let api: Api<any>;

4
tests/playwright/tests/db/columnDateTime.spec.ts → tests/playwright/tests/db/columns/columnDateTime.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
const dateTimeData = [ const dateTimeData = [
{ {

4
tests/playwright/tests/db/columnDuration.spec.ts → tests/playwright/tests/db/columns/columnDuration.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
// Storing one additional dummy value "10" at end of every input array // Storing one additional dummy value "10" at end of every input array
// this will trigger update to previously committed data // this will trigger update to previously committed data

6
tests/playwright/tests/db/columnFormula.spec.ts → tests/playwright/tests/db/columns/columnFormula.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup, { NcContext } from '../../setup'; import setup, { NcContext } from '../../../setup';
import { isPg, isSqlite } from '../../setup/db'; import { isPg, isSqlite } from '../../../setup/db';
// Add formula to be verified here & store expected results for 5 rows // Add formula to be verified here & store expected results for 5 rows
// Column data from City table (Sakila DB) // Column data from City table (Sakila DB)

6
tests/playwright/tests/db/columnGeoData.spec.ts → tests/playwright/tests/db/columns/columnGeoData.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
test.describe('Geo Data column', () => { test.describe('Geo Data column', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

4
tests/playwright/tests/db/columnLinkToAnotherRecord.spec.ts → tests/playwright/tests/db/columns/columnLinkToAnotherRecord.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('LTAR create & update', () => { test.describe('LTAR create & update', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

4
tests/playwright/tests/db/columnLookupRollup.spec.ts → tests/playwright/tests/db/columns/columnLookupRollup.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Virtual columns', () => { test.describe('Virtual columns', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

8
tests/playwright/tests/db/columnLtarDragdrop.spec.ts → tests/playwright/tests/db/columns/columnLtarDragdrop.spec.ts

@ -1,9 +1,9 @@
import { expect, Locator, test } from '@playwright/test'; import { expect, Locator, test } from '@playwright/test';
import setup from '../../setup'; import setup from '../../../setup';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import { getTextExcludeIconText } from '../utils/general'; import { getTextExcludeIconText } from '../../utils/general';
let api: Api<any>; let api: Api<any>;
const recordCount = 10; const recordCount = 10;

4
tests/playwright/tests/db/columnMenuOperations.spec.ts → tests/playwright/tests/db/columns/columnMenuOperations.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
const columns = [ const columns = [
{ {

8
tests/playwright/tests/db/columnMultiSelect.spec.ts → tests/playwright/tests/db/columns/columnMultiSelect.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
test.describe('Multi select', () => { test.describe('Multi select', () => {
let dashboard: DashboardPage, grid: GridPage; let dashboard: DashboardPage, grid: GridPage;

6
tests/playwright/tests/db/columnQrCode.spec.ts → tests/playwright/tests/db/columns/columnQrCode.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
type ExpectedQrCodeData = { type ExpectedQrCodeData = {
referencedValue: string; referencedValue: string;

6
tests/playwright/tests/db/columnRating.spec.ts → tests/playwright/tests/db/columns/columnRating.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
test.describe('Rating - cell, filter, sort', () => { test.describe('Rating - cell, filter, sort', () => {
let dashboard: DashboardPage, toolbar: ToolbarPage; let dashboard: DashboardPage, toolbar: ToolbarPage;

4
tests/playwright/tests/db/columnRelationalExtendedTests.spec.ts → tests/playwright/tests/db/columns/columnRelationalExtendedTests.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Relational Columns', () => { test.describe('Relational Columns', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

8
tests/playwright/tests/db/columnSingleSelect.spec.ts → tests/playwright/tests/db/columns/columnSingleSelect.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
test.describe('Single select', () => { test.describe('Single select', () => {
let dashboard: DashboardPage, grid: GridPage; let dashboard: DashboardPage, grid: GridPage;

12
tests/playwright/tests/db/baseShare.spec.ts → tests/playwright/tests/db/features/baseShare.spec.ts

@ -1,10 +1,10 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { LoginPage } from '../../pages/LoginPage'; import { LoginPage } from '../../../pages/LoginPage';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { getDefaultPwd } from '../utils/general'; import { getDefaultPwd } from '../../utils/general';
test.describe('Shared base', () => { test.describe('Shared base', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

14
tests/playwright/tests/db/erd.spec.ts → tests/playwright/tests/db/features/erd.spec.ts

@ -5,13 +5,13 @@ import {
pgSakilaSqlViews, pgSakilaSqlViews,
pgSakilaTables, pgSakilaTables,
sqliteSakilaSqlViews, sqliteSakilaSqlViews,
} from '../utils/sakila'; } from '../../utils/sakila';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { SettingsSubTab, SettingTab } from '../../pages/Dashboard/Settings'; import { SettingsSubTab, SettingTab } from '../../../pages/Dashboard/Settings';
import setup from '../../setup'; import setup from '../../../setup';
import { isMysql, isPg, isSqlite } from '../../setup/db'; import { isMysql, isPg, isSqlite } from '../../../setup/db';
import { SettingsErdPage } from '../../pages/Dashboard/Settings/Erd'; import { SettingsErdPage } from '../../../pages/Dashboard/Settings/Erd';
import { defaultBaseName } from '../../constants'; import { defaultBaseName } from '../../../constants';
test.describe('Erd', () => { test.describe('Erd', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

10
tests/playwright/tests/db/expandedFormUrl.spec.ts → tests/playwright/tests/db/features/expandedFormUrl.spec.ts

@ -1,9 +1,9 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GalleryPage } from '../../pages/Dashboard/Gallery'; import { GalleryPage } from '../../../pages/Dashboard/Gallery';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
test.describe('Expanded form URL', () => { test.describe('Expanded form URL', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

12
tests/playwright/tests/db/filters.spec.ts → tests/playwright/tests/db/features/filters.spec.ts

@ -1,13 +1,13 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { UITypes } from 'nocodb-sdk'; import { UITypes } from 'nocodb-sdk';
import { Api } from 'nocodb-sdk'; import { Api } from 'nocodb-sdk';
import { rowMixedValue } from '../../setup/xcdb-records'; import { rowMixedValue } from '../../../setup/xcdb-records';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import { createDemoTable } from '../../setup/demoTable'; import { createDemoTable } from '../../../setup/demoTable';
import { isPg } from '../../setup/db'; import { isPg } from '../../../setup/db';
let dashboard: DashboardPage, toolbar: ToolbarPage; let dashboard: DashboardPage, toolbar: ToolbarPage;
let context: any; let context: any;

8
tests/playwright/tests/db/findRowByScanner.spec.ts → tests/playwright/tests/db/features/findRowByScanner.spec.ts

@ -1,8 +1,8 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { FormPage } from '../../pages/Dashboard/Form'; import { FormPage } from '../../../pages/Dashboard/Form';
import setup from '../../setup'; import setup from '../../../setup';
// Skip for now as it is not working in CI atm // Skip for now as it is not working in CI atm
test.describe.skip('Find row by scanner', () => { test.describe.skip('Find row by scanner', () => {

10
tests/playwright/tests/db/import.spec.ts → tests/playwright/tests/db/features/import.spec.ts

@ -1,9 +1,9 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { airtableApiBase, airtableApiKey } from '../../constants'; import { airtableApiBase, airtableApiKey } from '../../../constants';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { quickVerify } from '../../quickTests/commonTest'; import { quickVerify } from '../../../quickTests/commonTest';
import setup from '../../setup'; import setup from '../../../setup';
import { isPg, isSqlite } from '../../setup/db'; import { isPg, isSqlite } from '../../../setup/db';
test.describe('Import', () => { test.describe('Import', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

6
tests/playwright/tests/db/keyboardShortcuts.spec.ts → tests/playwright/tests/db/features/keyboardShortcuts.spec.ts

@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
let api: Api<any>; let api: Api<any>;

6
tests/playwright/tests/db/language.spec.ts → tests/playwright/tests/db/features/language.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import setup from '../../setup'; import setup from '../../../setup';
const langMenu = [ const langMenu = [
'help-translate', 'help-translate',

11
tests/playwright/tests/db/metaLTAR.spec.ts → tests/playwright/tests/db/features/metaLTAR.spec.ts

@ -20,13 +20,12 @@
*/ */
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import setup from '../../setup'; import setup from '../../../setup';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import { createXcdb, deleteXcdb } from '../../setup/xcdbProject'; import { createXcdb, deleteXcdb } from '../../../setup/xcdbProject';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { isSqlite } from '../../setup/db';
let api: Api<any>; let api: Api<any>;
const recordCount = 10; const recordCount = 10;

8
tests/playwright/tests/db/metaSync.spec.ts → tests/playwright/tests/db/features/metaSync.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { SettingsPage, SettingTab } from '../../pages/Dashboard/Settings'; import { SettingsPage, SettingTab } from '../../../pages/Dashboard/Settings';
import setup, { NcContext } from '../../setup'; import setup, { NcContext } from '../../../setup';
import { isMysql, isPg, isSqlite, mysqlExec, pgExec, sqliteExec } from '../../setup/db'; import { isMysql, isPg, isSqlite, mysqlExec, pgExec, sqliteExec } from '../../../setup/db';
test.describe('Meta sync', () => { test.describe('Meta sync', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

8
tests/playwright/tests/db/mobileMode.spec.ts → tests/playwright/tests/db/features/mobileMode.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { FormPage } from '../../pages/Dashboard/Form'; import { FormPage } from '../../../pages/Dashboard/Form';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Mobile Mode', () => { test.describe('Mobile Mode', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

4
tests/playwright/tests/db/pagination.spec.ts → tests/playwright/tests/db/features/pagination.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Grid pagination', () => { test.describe('Grid pagination', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

6
tests/playwright/tests/db/swagger.spec.ts → tests/playwright/tests/db/features/swagger.spec.ts

@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Table Column Operations', () => { test.describe('Table Column Operations', () => {
let grid: GridPage, dashboard: DashboardPage; let grid: GridPage, dashboard: DashboardPage;

12
tests/playwright/tests/db/timezone.spec.ts → tests/playwright/tests/db/features/timezone.spec.ts

@ -1,12 +1,12 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { knex } from 'knex'; import { knex } from 'knex';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { isMysql, isPg, isSqlite } from '../../setup/db'; import { isMysql, isPg, isSqlite } from '../../../setup/db';
import { getKnexConfig } from '../utils/config'; import { getKnexConfig } from '../../utils/config';
import { getBrowserTimezoneOffset } from '../utils/general'; import { getBrowserTimezoneOffset } from '../../utils/general';
let api: Api<any>, records: any[]; let api: Api<any>, records: any[];
const columns = [ const columns = [

12
tests/playwright/tests/db/undo-redo.spec.ts → tests/playwright/tests/db/features/undo-redo.spec.ts

@ -1,11 +1,11 @@
import { expect, Page, test } from '@playwright/test'; import { expect, Page, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
import { rowMixedValue } from '../../setup/xcdb-records'; import { rowMixedValue } from '../../../setup/xcdb-records';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { isSqlite } from '../../setup/db'; import { isSqlite } from '../../../setup/db';
let dashboard: DashboardPage, let dashboard: DashboardPage,
grid: GridPage, grid: GridPage,

12
tests/playwright/tests/db/updateBulk.ts → tests/playwright/tests/db/features/updateBulk.ts

@ -1,11 +1,11 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import setup from '../../setup'; import setup from '../../../setup';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { Api } from 'nocodb-sdk'; import { Api } from 'nocodb-sdk';
import { createDemoTable } from '../../setup/demoTable'; import { createDemoTable } from '../../../setup/demoTable';
import { BulkUpdatePage } from '../../pages/Dashboard/BulkUpdate'; import { BulkUpdatePage } from '../../../pages/Dashboard/BulkUpdate';
import { AccountLicensePage } from '../../pages/Account/License'; import { AccountLicensePage } from '../../../pages/Account/License';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
let bulkUpdateForm: BulkUpdatePage; let bulkUpdateForm: BulkUpdatePage;
let dashboard: DashboardPage; let dashboard: DashboardPage;

8
tests/playwright/tests/db/verticalFillHandle.spec.ts → tests/playwright/tests/db/features/verticalFillHandle.spec.ts

@ -1,9 +1,9 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import setup from '../../setup'; import setup from '../../../setup';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { Api } from 'nocodb-sdk'; import { Api } from 'nocodb-sdk';
import { createDemoTable } from '../../setup/demoTable'; import { createDemoTable } from '../../../setup/demoTable';
import { BulkUpdatePage } from '../../pages/Dashboard/BulkUpdate'; import { BulkUpdatePage } from '../../../pages/Dashboard/BulkUpdate';
let dashboard: DashboardPage; let dashboard: DashboardPage;
let context: any; let context: any;

12
tests/playwright/tests/db/01-webhook.spec.ts → tests/playwright/tests/db/features/webhook.spec.ts

@ -1,11 +1,11 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import makeServer from '../../setup/server'; import makeServer from '../../../setup/server';
import { WebhookFormPage } from '../../pages/Dashboard/WebhookForm'; import { WebhookFormPage } from '../../../pages/Dashboard/WebhookForm';
import { isSubset } from '../utils/general'; import { isSubset } from '../../utils/general';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
import { isMysql, isPg, isSqlite } from '../../setup/db'; import { isMysql, isPg, isSqlite } from '../../../setup/db';
const hookPath = 'http://localhost:9090/hook'; const hookPath = 'http://localhost:9090/hook';
let api: Api<any>; let api: Api<any>;

6
tests/playwright/tests/db/cellSelection.spec.ts → tests/playwright/tests/db/general/cellSelection.spec.ts

@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Verify cell selection', () => { test.describe('Verify cell selection', () => {
let dashboard: DashboardPage, grid: GridPage; let dashboard: DashboardPage, grid: GridPage;

2
tests/playwright/tests/db/megaTable.spec.ts → tests/playwright/tests/db/general/megaTable.spec.ts

@ -1,5 +1,5 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import setup from '../../setup'; import setup from '../../../setup';
import { UITypes } from 'nocodb-sdk'; import { UITypes } from 'nocodb-sdk';
import { Api } from 'nocodb-sdk'; import { Api } from 'nocodb-sdk';
let api: Api<any>; let api: Api<any>;

16
tests/playwright/tests/db/projectOperations.spec.ts → tests/playwright/tests/db/general/projectOperations.spec.ts

@ -1,13 +1,13 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { airtableApiBase, airtableApiKey } from '../../constants'; import { airtableApiBase, airtableApiKey } from '../../../constants';
import { quickVerify } from '../../quickTests/commonTest'; import { quickVerify } from '../../../quickTests/commonTest';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { Api } from 'nocodb-sdk'; import { Api } from 'nocodb-sdk';
import { ProjectInfo, ProjectInfoApiUtil } from '../utils/projectInfoApiUtil'; import { ProjectInfo, ProjectInfoApiUtil } from '../../utils/projectInfoApiUtil';
import { deepCompare } from '../utils/objectCompareUtil'; import { deepCompare } from '../../utils/objectCompareUtil';
test.describe('Project operations', () => { test.describe('Project operations', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

6
tests/playwright/tests/db/tableColumnOperation.spec.ts → tests/playwright/tests/db/general/tableColumnOperation.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { GridPage } from '../../pages/Dashboard/Grid'; import { GridPage } from '../../../pages/Dashboard/Grid';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Table Column Operations', () => { test.describe('Table Column Operations', () => {
let grid: GridPage, dashboard: DashboardPage; let grid: GridPage, dashboard: DashboardPage;

10
tests/playwright/tests/db/tableOperations.spec.ts → tests/playwright/tests/db/general/tableOperations.spec.ts

@ -1,10 +1,10 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { Api, TableListType, TableType } from 'nocodb-sdk'; import { Api, TableListType, TableType } from 'nocodb-sdk';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { SettingsPage, SettingTab } from '../../pages/Dashboard/Settings'; import { SettingsPage, SettingTab } from '../../../pages/Dashboard/Settings';
import { deepCompare } from '../utils/objectCompareUtil'; import { deepCompare } from '../../utils/objectCompareUtil';
import setup from '../../setup'; import setup from '../../../setup';
import { ProjectInfoApiUtil, TableInfo } from '../utils/projectInfoApiUtil'; import { ProjectInfoApiUtil, TableInfo } from '../../utils/projectInfoApiUtil';
test.describe('Table Operations', () => { test.describe('Table Operations', () => {
let dashboard: DashboardPage, settings: SettingsPage; let dashboard: DashboardPage, settings: SettingsPage;

6
tests/playwright/tests/db/toolbarOperations.spec.ts → tests/playwright/tests/db/general/toolbarOperations.spec.ts

@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Toolbar operations (GRID)', () => { test.describe('Toolbar operations (GRID)', () => {
let dashboard: DashboardPage, toolbar: ToolbarPage; let dashboard: DashboardPage, toolbar: ToolbarPage;

6
tests/playwright/tests/db/viewMenu.spec.ts → tests/playwright/tests/db/general/viewMenu.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { isPg } from '../../setup/db'; import { isPg } from '../../../setup/db';
test.describe('Grid view locked', () => { test.describe('Grid view locked', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

6
tests/playwright/tests/db/views.spec.ts → tests/playwright/tests/db/general/views.spec.ts

@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test'; import { expect, test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Views CRUD Operations', () => { test.describe('Views CRUD Operations', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

8
tests/playwright/tests/db/accountLicense.spec.ts → tests/playwright/tests/db/users&Accounts/accountLicense.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import setup from '../../setup'; import setup from '../../../setup';
import { AccountLicensePage } from '../../pages/Account/License'; import { AccountLicensePage } from '../../../pages/Account/License';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
test.describe('Enterprise License', () => { test.describe('Enterprise License', () => {
// @ts-ignore // @ts-ignore

6
tests/playwright/tests/db/accountTokenManagement.spec.ts → tests/playwright/tests/db/users&Accounts/accountTokenManagement.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import { AccountTokenPage } from '../../pages/Account/Token'; import { AccountTokenPage } from '../../../pages/Account/Token';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('User roles', () => { test.describe('User roles', () => {
let accountTokenPage: AccountTokenPage; let accountTokenPage: AccountTokenPage;

12
tests/playwright/tests/db/accountUserManagement.spec.ts → tests/playwright/tests/db/users&Accounts/accountUserManagement.spec.ts

@ -1,10 +1,10 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import { AccountUsersPage } from '../../pages/Account/Users'; import { AccountUsersPage } from '../../../pages/Account/Users';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { SignupPage } from '../../pages/SignupPage'; import { SignupPage } from '../../../pages/SignupPage';
import setup from '../../setup'; import setup from '../../../setup';
import { getDefaultPwd } from '../utils/general'; import { getDefaultPwd } from '../../utils/general';
const roleDb = [ const roleDb = [
{ email: 'creator@nocodb.com', role: 'Organization Level Creator', url: '' }, { email: 'creator@nocodb.com', role: 'Organization Level Creator', url: '' },

10
tests/playwright/tests/db/accountUserSettings.spec.ts → tests/playwright/tests/db/users&Accounts/accountUserSettings.spec.ts

@ -1,9 +1,9 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import { AccountSettingsPage } from '../../pages/Account/Settings'; import { AccountSettingsPage } from '../../../pages/Account/Settings';
import { SignupPage } from '../../pages/SignupPage'; import { SignupPage } from '../../../pages/SignupPage';
import setup from '../../setup'; import setup from '../../../setup';
import { getDefaultPwd } from '../utils/general'; import { getDefaultPwd } from '../../utils/general';
test.describe('App settings', () => { test.describe('App settings', () => {
let accountSettingsPage: AccountSettingsPage; let accountSettingsPage: AccountSettingsPage;

16
tests/playwright/tests/db/authChangePassword.spec.ts → tests/playwright/tests/db/users&Accounts/authChangePassword.spec.ts

@ -1,12 +1,12 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { LoginPage } from '../../pages/LoginPage'; import { LoginPage } from '../../../pages/LoginPage';
import { SettingsPage, SettingTab } from '../../pages/Dashboard/Settings'; import { SettingsPage, SettingTab } from '../../../pages/Dashboard/Settings';
import { SignupPage } from '../../pages/SignupPage'; import { SignupPage } from '../../../pages/SignupPage';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import { getDefaultPwd } from '../utils/general'; import { getDefaultPwd } from '../../utils/general';
test.describe('Auth', () => { test.describe('Auth', () => {
let context: any; let context: any;

12
tests/playwright/tests/db/rolesCreate.spec.ts → tests/playwright/tests/db/users&Accounts/rolesCreate.spec.ts

@ -1,10 +1,10 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { SettingsPage, SettingTab } from '../../pages/Dashboard/Settings'; import { SettingsPage, SettingTab } from '../../../pages/Dashboard/Settings';
import { SignupPage } from '../../pages/SignupPage'; import { SignupPage } from '../../../pages/SignupPage';
import { ProjectsPage } from '../../pages/ProjectsPage'; import { ProjectsPage } from '../../../pages/ProjectsPage';
import { getDefaultPwd } from '../utils/general'; import { getDefaultPwd } from '../../utils/general';
const roleDb = [ const roleDb = [
{ email: 'creator@nocodb.com', role: 'creator', url: '' }, { email: 'creator@nocodb.com', role: 'creator', url: '' },

8
tests/playwright/tests/db/rolesPreview.spec.ts → tests/playwright/tests/db/users&Accounts/rolesPreview.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import { SettingsPage, SettingTab } from '../../pages/Dashboard/Settings'; import { SettingsPage, SettingTab } from '../../../pages/Dashboard/Settings';
const roles = ['Editor', 'Commenter', 'Viewer']; const roles = ['Editor', 'Commenter', 'Viewer'];

4
tests/playwright/tests/db/rolesSuperUser.spec.ts → tests/playwright/tests/db/users&Accounts/rolesSuperUser.spec.ts

@ -1,6 +1,6 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Super user', () => { test.describe('Super user', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

12
tests/playwright/tests/db/viewForm.spec.ts → tests/playwright/tests/db/views/viewForm.spec.ts

@ -1,10 +1,10 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { FormPage } from '../../pages/Dashboard/Form'; import { FormPage } from '../../../pages/Dashboard/Form';
import { SharedFormPage } from '../../pages/SharedForm'; import { SharedFormPage } from '../../../pages/SharedForm';
import { AccountPage } from '../../pages/Account'; import { AccountPage } from '../../../pages/Account';
import { AccountAppStorePage } from '../../pages/Account/AppStore'; import { AccountAppStorePage } from '../../../pages/Account/AppStore';
import { Api, UITypes } from 'nocodb-sdk'; import { Api, UITypes } from 'nocodb-sdk';
let api: Api<any>; let api: Api<any>;

6
tests/playwright/tests/db/viewFormShareSurvey.spec.ts → tests/playwright/tests/db/views/viewFormShareSurvey.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { SurveyFormPage } from '../../pages/Dashboard/SurveyForm'; import { SurveyFormPage } from '../../../pages/Dashboard/SurveyForm';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Share form', () => { test.describe('Share form', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

6
tests/playwright/tests/db/viewGridShare.spec.ts → tests/playwright/tests/db/views/viewGridShare.spec.ts

@ -1,7 +1,7 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import setup from '../../setup'; import setup from '../../../setup';
import { isMysql, isPg, isSqlite } from '../../setup/db'; import { isMysql, isPg, isSqlite } from '../../../setup/db';
test.describe('Shared view', () => { test.describe('Shared view', () => {
let dashboard: DashboardPage; let dashboard: DashboardPage;

8
tests/playwright/tests/db/viewKanban.spec.ts → tests/playwright/tests/db/views/viewKanban.spec.ts

@ -1,9 +1,9 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import setup from '../../setup'; import setup from '../../../setup';
import { isPg, isSqlite } from '../../setup/db'; import { isPg, isSqlite } from '../../../setup/db';
const filmRatings = ['G', 'PG', 'PG-13', 'R', 'NC-17']; const filmRatings = ['G', 'PG', 'PG-13', 'R', 'NC-17'];

6
tests/playwright/tests/db/viewMap.spec.ts → tests/playwright/tests/db/views/viewMap.spec.ts

@ -1,8 +1,8 @@
import { test } from '@playwright/test'; import { test } from '@playwright/test';
import { DashboardPage } from '../../pages/Dashboard'; import { DashboardPage } from '../../../pages/Dashboard';
import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar';
import setup from '../../setup'; import setup from '../../../setup';
test.describe('Map View', () => { test.describe('Map View', () => {
let dashboard: DashboardPage, toolbar: ToolbarPage; let dashboard: DashboardPage, toolbar: ToolbarPage;
Loading…
Cancel
Save