Add 50ms wait for flaky telemetry popup test (#1449)
This commit is contained in:
@@ -250,6 +250,9 @@ describe('telemetry reporting', function() {
|
||||
|
||||
await telemetryListener.initialize();
|
||||
|
||||
// Wait 50 ms for user's selection to propagate in settings.
|
||||
await wait(50);
|
||||
|
||||
// Dialog opened, user clicks "yes" and telemetry enabled
|
||||
expect(window.showInformationMessage).to.have.been.calledOnce;
|
||||
expect(ENABLE_TELEMETRY.getValue()).to.eq(true);
|
||||
|
||||
Reference in New Issue
Block a user