mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
515 B
20 lines
515 B
2 years ago
|
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();
|
||
|
}
|
||
|
}
|