Wire IDE symbol navigation panel
This commit is contained in:
@@ -186,16 +186,13 @@ try {
|
||||
await restoredModuleTabs.first().click();
|
||||
}
|
||||
await page.locator("[data-fast-bsl-editor]").waitFor({ state: "visible", timeout: 15000 });
|
||||
const symbolNavigationPanel = page.locator("[data-symbol-navigation-panel]");
|
||||
if ((await symbolNavigationPanel.count()) > 0) {
|
||||
await symbolNavigationPanel.waitFor({ state: "visible", timeout: 15000 });
|
||||
}
|
||||
await page.locator("[data-symbol-navigation-panel]").waitFor({ state: "visible", timeout: 15000 });
|
||||
const symbolSearchInput = page.locator("#symbol-search-input");
|
||||
if ((await symbolSearchInput.count()) > 0) {
|
||||
await symbolSearchInput.fill("Проверить");
|
||||
await symbolSearchInput.press("Enter");
|
||||
await page.locator("[data-symbol-result]").first().waitFor({ state: "visible", timeout: 15000 });
|
||||
}
|
||||
await symbolSearchInput.fill("demo");
|
||||
await symbolSearchInput.press("Enter");
|
||||
await page.locator("[data-symbol-result]").first().waitFor({ state: "visible", timeout: 15000 });
|
||||
await page.locator('button[data-editor-action="symbol-definition-row"]').first().click();
|
||||
await page.locator("[data-symbol-definition]").waitFor({ state: "visible", timeout: 15000 });
|
||||
const findUsagesButton = page.locator('button[data-editor-action="find-usages"]');
|
||||
if ((await findUsagesButton.count()) > 0 && await findUsagesButton.isEnabled()) {
|
||||
await findUsagesButton.click();
|
||||
|
||||
Reference in New Issue
Block a user