(core) Updating UI for Document Settings

Summary: Updating UI for Document Settings, by reusing components from Admin panel

Test Plan: Existing

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4250
This commit is contained in:
Jarosław Sadziński
2024-05-10 14:54:37 +02:00
parent 3fc221f3e2
commit 00c8343e8a
7 changed files with 456 additions and 246 deletions

View File

@@ -109,7 +109,7 @@ describe('WebhookOverflow', function () {
async function openWebhookPageWithoutWaitForServer() {
await openDocumentSettings();
const button = await driver.findContentWait('a', /Manage Webhooks/, 3000);
const button = await driver.findContentWait('a', /Manage Webhooks/i, 3000);
await gu.scrollIntoView(button).click();
await waitForWebhookPage();
}

View File

@@ -281,9 +281,9 @@ async function getField(rowNum: number, col: string) {
}
async function openWebhookPage() {
await gu.wipeToasts();
await gu.openDocumentSettings();
const button = await driver.findContentWait('a', /Manage Webhooks/, 3000);
await gu.scrollIntoView(button).click();
await gu.scrollIntoView(driver.findContentWait('a', /Manage Webhooks/i, 3000)).click();
await waitForWebhookPage();
}