mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 04:46:49 +00:00
fix: filter tests
This commit is contained in:
@@ -10,11 +10,11 @@ export class MiscSettingsPage extends BasePage {
|
||||
}
|
||||
|
||||
get() {
|
||||
return this.settings.get().locator(`[data-testid="nc-settings-subtab-Misc"]`);
|
||||
return this.settings.get().locator(`[data-testid="nc-settings-subtab-visibility"]`);
|
||||
}
|
||||
|
||||
async clickShowM2MTables() {
|
||||
const clickAction = () => this.get().locator('input[type="checkbox"]').first().click();
|
||||
const clickAction = () => this.get().locator('.nc-settings-meta-misc-m2m').first().click();
|
||||
await this.waitForResponse({
|
||||
uiAction: clickAction,
|
||||
requestUrlPathToMatch: 'tables?includeM2M',
|
||||
@@ -24,7 +24,7 @@ export class MiscSettingsPage extends BasePage {
|
||||
|
||||
async clickShowNullEmptyFilters() {
|
||||
await this.waitForResponse({
|
||||
uiAction: () => this.get().locator('input[type="checkbox"]').last().click(),
|
||||
uiAction: () => this.rootPage.locator('.nc-settings-show-null-and-empty-in-filter').first().click(),
|
||||
requestUrlPathToMatch: '/api/v1/db/meta/projects',
|
||||
httpMethodsToMatch: ['PATCH'],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user