mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 02:26:12 +02:00
Wait for GitHub setup request before asserting captured key
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
b330ec27e2
commit
ab74c31028
1 file changed
+2
-1
@@ -1559,9 +1559,10 @@ test.describe.serial("native chat adapter UI", () => {
|
||||
await fillProviderSetup(page, provider);
|
||||
|
||||
if (provider.provider === "github") {
|
||||
// A completed click does not mean the async configure request reached the mock.
|
||||
await expect.poll(() => mock.setupAttempts).toBe(2);
|
||||
expect(mock.githubPrivateKeyMatchedFile).toBe(true);
|
||||
expect(mock.githubPrivateKeyMatchedPaste).toBe(true);
|
||||
expect(mock.setupAttempts).toBe(2);
|
||||
}
|
||||
|
||||
if (provider.provider === "telegram") {
|
||||
|
||||
Reference in new issue
Block a user