mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 05:06:55 +00:00
refactor: rename project and base
- Rename `Project` => `Base` - Rename `Base` => `Source` - Remove `db` from data/meta api endpoints - Add backward compatibility for old apis - Migrations for renaming table and columns Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -3,14 +3,14 @@ import { ProjectViewPage } from './index';
|
||||
import { expect, Locator } from '@playwright/test';
|
||||
|
||||
export class TablesViewPage extends BasePage {
|
||||
readonly projectView: ProjectViewPage;
|
||||
readonly baseView: ProjectViewPage;
|
||||
|
||||
readonly btn_addNewTable: Locator;
|
||||
readonly btn_importData: Locator;
|
||||
|
||||
constructor(projectView: ProjectViewPage) {
|
||||
super(projectView.rootPage);
|
||||
this.projectView = projectView;
|
||||
constructor(baseView: ProjectViewPage) {
|
||||
super(baseView.rootPage);
|
||||
this.baseView = baseView;
|
||||
|
||||
this.btn_addNewTable = this.get().locator('[data-testid="proj-view-btn__add-new-table"]');
|
||||
this.btn_importData = this.get().locator('[data-testid="proj-view-btn__import-data"]');
|
||||
|
||||
Reference in New Issue
Block a user