Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9946ed4
[main] Add stale bot for assigned issues and prs (#2495)
MSNev Apr 2, 2025
ffbd877
move to beta again (#2496)
siyuniu-ms Apr 2, 2025
82c7981
[main] support adding cross origin resource policy for #1851 (#2423)
siyuniu-ms Apr 2, 2025
a864ed5
[Main][Task]31248254: Add Monitor Tests for CDN OPTIONS Calls (#2491)
Karlie-777 Apr 2, 2025
6258457
[main] Minor fixes for handling ikey promises with dynamic changes (#…
MSNev Apr 4, 2025
10053b1
[chrome debug tool] publish 0.8.0 for manifect V3 (#2499)
siyuniu-ms Apr 9, 2025
a8d229e
[Main][Task]31233527:Change Default RequestSizeLimitBytes (#2501)
Karlie-777 Apr 17, 2025
bb52809
[main][stats beat] implement stats beat in application insights (#2489)
siyuniu-ms Apr 24, 2025
fc2ee8d
[main] Handle race condition during unload (#2507)
MSNev Apr 28, 2025
188c755
Drop correlation header to be passed on the dependency (#2506)
aimbrenda Apr 29, 2025
6e315f1
[main] enable compress api in 1ds-post-channel and applicationinsight…
siyuniu-ms Apr 30, 2025
b5a24d5
[main] [Click analytics] not logging no native html input elements #…
siyuniu-ms Apr 30, 2025
4f7f645
[Main][Task]31233527: Add a Config to Allow Users to Change RequestSi…
Karlie-777 May 1, 2025
93a3713
Address issues with isFeatureEnabled changes (#2514)
MSNev May 3, 2025
629d8bf
Add additional SendPostManager tests (#2515)
MSNev May 5, 2025
e0f21e0
Reduce Stale period (#2519)
MSNev May 5, 2025
4ec25ca
[Main][Task]32698211: Add a Config to Allow Users to Change Max Numbe…
Karlie-777 May 6, 2025
72fd702
Remove Generated docs from the repo (#2518)
MSNev May 6, 2025
123ba4c
Update Components to address governance issues (#2517)
MSNev May 6, 2025
1647e6f
[Release] Increase version to 3.3.7 (#2520)
Karlie-777 May 7, 2025
6e145d9
Update Components to address governance issues (#2524)
MSNev May 12, 2025
f4a2cf1
Add back "request" devDependency for now (#2525)
MSNev May 12, 2025
76ebbff
Fix TestCase PollingAssert argument passing for testContext (#2526)
MSNev May 13, 2025
cdc02ff
Merge remote-tracking branch 'origin/main' into MSNev/mergeBeta
MSNev May 15, 2025
448a57d
Update shrinkwrap after merge
MSNev May 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions AISKU/Tests/Perf/src/AISKUPerf.Tests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { AITestClass, Assert } from "@microsoft/ai-test-framework";
import { AppInsightsInitPerfTestClass } from "./AISKUPerf";
import { utlRemoveSessionStorage } from "@microsoft/applicationinsights-common";
import { createTimeoutPromise, doAwait } from "@nevware21/ts-async";

function isNullOrUndefined(value: any): boolean {
return value === undefined || value === null;
Expand Down Expand Up @@ -165,11 +166,10 @@ export class AISKUPerf extends AITestClass {
}

public addPerfTest(): void {
this.testCaseAsync({
this.testCase({
name: "AppInsights AISKU perf Test",
stepDelay: 10000,
assertNoHooks: false,
steps: [() => {
test: () => {
Assert.ok(window["appInsightsInitPerftest"], "global appInsightsInitPerftest exists");
Assert.ok(window["oneDS"], "oneDS exists");
Assert.ok(this.perfMgr, "perfMgr exists");
Expand All @@ -195,9 +195,11 @@ export class AISKUPerf extends AITestClass {
Assert.ok(false, "load snippet error: " + e);
}

}].concat(() => {
Assert.ok(true, "test version: " + this.AISKUPerfTest.version);
})
// Wait for 10 seconds to allow the script to load and then check if the appInsights object is available
return this._delay(10000, () => {
Assert.ok(true, "test version: " + this.AISKUPerfTest.version);
});
}
});
}

Expand Down
22 changes: 11 additions & 11 deletions AISKU/Tests/Unit/src/applicationinsights.e2e.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for promise response" + new Date().toISOString(), 60, 1000) as any).concat(PollingAssert.createPollingAssert(() => {
}, "Wait for promise response" + new Date().toISOString(), 60) as any).concat(PollingAssert.createPollingAssert(() => {
let core = this._ai.core
let activeStatus = core.activeStatus && core.activeStatus();

Expand All @@ -325,7 +325,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for new string response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for new string response" + new Date().toISOString(), 60) as any)
});

this.testCaseAsync({
Expand Down Expand Up @@ -380,7 +380,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for promise response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for promise response" + new Date().toISOString(), 60) as any)
});


Expand Down Expand Up @@ -443,7 +443,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for promise response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for promise response" + new Date().toISOString(), 60) as any)
});


Expand Down Expand Up @@ -484,7 +484,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for promise response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for promise response" + new Date().toISOString(), 60) as any)
});

this.testCaseAsync({
Expand Down Expand Up @@ -538,7 +538,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for promise response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for promise response" + new Date().toISOString(), 60) as any)
});


Expand Down Expand Up @@ -783,7 +783,7 @@ export class ApplicationInsightsTests extends AITestClass {
return false;
}
return false;
}, "Wait for response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for response" + new Date().toISOString(), 60) as any)
});

this.testCaseAsync({
Expand Down Expand Up @@ -836,7 +836,7 @@ export class ApplicationInsightsTests extends AITestClass {
return false;
}
return false;
}, "Wait for response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for response" + new Date().toISOString(), 60) as any)
});

this.testCaseAsync({
Expand Down Expand Up @@ -871,7 +871,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true;
}
return false;
}, "Wait for response" + new Date().toISOString(), 60, 1000) as any)
}, "Wait for response" + new Date().toISOString(), 60) as any)
});
}

Expand Down Expand Up @@ -910,7 +910,7 @@ export class ApplicationInsightsTests extends AITestClass {
return true
}
return false
}, "Wait for init" + new Date().toISOString(), 60, 1000) as any).concat(this.asserts(1)).concat(() => {
}, "Wait for init" + new Date().toISOString(), 60) as any).concat(this.asserts(1)).concat(() => {
const payloadStr: string[] = this.getPayloadMessages(this.successSpy);
if (payloadStr.length > 0) {
const payload = JSON.parse(payloadStr[0]);
Expand Down Expand Up @@ -2023,7 +2023,7 @@ export class ApplicationInsightsTests extends AITestClass {
}

return false;
}, "sender succeeded", 60, 1000))
}, "sender succeeded", 60))
];
}

Expand Down
Loading
Loading