don't call ARM when connectionstring login

This commit is contained in:
Sung-Hyun Kang (from Dev Box) 2023-11-10 15:55:28 -06:00
parent 5433d61bd8
commit 6e1b104b72
2 changed files with 2 additions and 4 deletions

View File

@ -1385,7 +1385,7 @@ export default class Explorer {
}
public async configureCopilot(): Promise<void> {
if (userContext.apiType !== "SQL") {
if (userContext.apiType !== "SQL" || !userContext.subscriptionId) {
return;
}
const copilotEnabledPromise = getCopilotEnabled();

View File

@ -42,7 +42,5 @@ test("Resource token", async () => {
const explorer = await page.frame({
name: "explorer",
});
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`, {
timeout: 150000,
});
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`);
});