|
|
@ -240,11 +240,11 @@ export class FieldsPage extends BasePage { |
|
|
|
async saveChanges() { |
|
|
|
async saveChanges() { |
|
|
|
await this.waitForResponse({ |
|
|
|
await this.waitForResponse({ |
|
|
|
uiAction: async () => await this.saveChangesButton.click(), |
|
|
|
uiAction: async () => await this.saveChangesButton.click(), |
|
|
|
requestUrlPathToMatch: 'api/v1/db/meta/views/', |
|
|
|
requestUrlPathToMatch: 'api/v1/db/meta/tables/', |
|
|
|
httpMethodsToMatch: ['GET'], |
|
|
|
httpMethodsToMatch: ['GET'], |
|
|
|
responseJsonMatcher: json => json['list'], |
|
|
|
responseJsonMatcher: json => json['hash'], |
|
|
|
}); |
|
|
|
}); |
|
|
|
await this.rootPage.waitForTimeout(200); |
|
|
|
await this.rootPage.waitForTimeout(1000); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
getField({ title }: { title: string }) { |
|
|
|
getField({ title }: { title: string }) { |
|
|
|