mirror of
https://github.com/github/awesome-copilot.git
synced 2026-08-13 12:49:49 +00:00
Improve connector reload authentication UX (#2370)
Keep Azure tokens in memory and preserve linked namespace context across extension reloads. Co-authored-by: Alex Yang (DevDiv) <yangalex@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -164,7 +164,9 @@ test("saved namespace prompts for sign-in after the extension credential is rese
|
||||
const response = await fetch(entry.url);
|
||||
const html = await response.text();
|
||||
assert.match(html, /id="signin-btn"/);
|
||||
assert.match(html, /Sign in to Azure/);
|
||||
assert.match(html, /Sign in to see your connectors/);
|
||||
assert.match(html, /Connector namespace <code>yeah-github-cli<\/code> is already linked\./);
|
||||
assert.match(html, /Sign in to Azure to view and manage its connectors\./);
|
||||
assert.doesNotMatch(html, /Couldn't load the saved namespace|couldn't open namespace/i);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user