mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 17:07:31 +00:00
20 lines
515 B
TypeScript
20 lines
515 B
TypeScript
import { expect } from '@playwright/test';
|
|
import { SettingsPage } from '.';
|
|
import BasePage from '../../Base';
|
|
|
|
export class MiscSettingsPage extends BasePage {
|
|
private readonly settings: SettingsPage;
|
|
|
|
constructor(settings: SettingsPage) {
|
|
super(settings.rootPage);
|
|
this.settings = settings;
|
|
}
|
|
|
|
get() {
|
|
return this.settings.get().locator(`[pw-data="nc-settings-subtab-Miscellaneous"]`);
|
|
}
|
|
|
|
async clickShowM2MTables() {
|
|
await this.get().locator('input[type="checkbox"]').click();
|
|
}
|
|
} |