@stablyai/playwright-test 2.1.8 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var Ke = require('path');
3
+ var Kt = require('path');
4
4
  var require$$7 = require('url');
5
5
  var test$1 = require('@playwright/test');
6
6
  var playwrightBase = require('@stablyai/playwright-base');
7
7
  var index$1 = require('./index-CEcJkg8Q.cjs');
8
- var index = require('./index-CFruORhJ.cjs');
8
+ var index = require('./index-D7GNnxbC.cjs');
9
9
  require('node:buffer');
10
10
  require('node:path');
11
11
  require('node:child_process');
@@ -32,7 +32,7 @@ require('zlib');
32
32
  require('buffer');
33
33
 
34
34
  const getApiUrl = () => process.env.STABLY_API_URL ?? "https://api.stably.ai";
35
- const sdkVersion = "2.1.8" ;
35
+ const sdkVersion = "2.1.9" ;
36
36
  const assertNonEmptyString = (value, fieldName) => {
37
37
  if (!value.trim()) {
38
38
  throw new Error(`Missing required field: ${fieldName}`);
@@ -154,7 +154,7 @@ async function authWithGoogle(options) {
154
154
  }
155
155
 
156
156
  function getDirname(importMetaUrl) {
157
- return Ke.dirname(require$$7.fileURLToPath(importMetaUrl));
157
+ return Kt.dirname(require$$7.fileURLToPath(importMetaUrl));
158
158
  }
159
159
  function getFilename(importMetaUrl) {
160
160
  return require$$7.fileURLToPath(importMetaUrl);
@@ -189,7 +189,7 @@ Object.defineProperty(exports, "setApiKey", {
189
189
  enumerable: true,
190
190
  get: function () { return playwrightBase.setApiKey; }
191
191
  });
192
- exports.stablyReporter = index.Pa;
192
+ exports.stablyReporter = index.va;
193
193
  exports.authWithGoogle = authWithGoogle;
194
194
  exports.defineConfig = defineConfig;
195
195
  exports.expect = expect;
@@ -45532,6 +45532,8 @@ type ProjectNotificationConfig = {
45532
45532
  type StablyReporterOptions = {
45533
45533
  apiKey?: string;
45534
45534
  projectId?: string;
45535
+ source?: string;
45536
+ cliVersion?: string;
45535
45537
  notificationConfigs?: ProjectNotificationConfig[];
45536
45538
  sensitiveValues?: readonly string[];
45537
45539
  };
@@ -45539,6 +45541,8 @@ declare class StablyReporter implements Reporter {
45539
45541
  private readonly wsClient;
45540
45542
  private readonly apiKey;
45541
45543
  private readonly projectId;
45544
+ private readonly source?;
45545
+ private readonly cliVersion?;
45542
45546
  private readonly pendingOperations;
45543
45547
  private readonly pendingUploads;
45544
45548
  private testSuiteRunId;
@@ -45558,8 +45562,9 @@ declare class StablyReporter implements Reporter {
45558
45562
  private suite?;
45559
45563
  private pendingQueuedSpecs?;
45560
45564
  private readonly attachmentFiles;
45561
- private readonly pendingUploadUrlRequests;
45565
+ private readonly uploadUrlWaitQueue;
45562
45566
  constructor(options?: StablyReporterOptions);
45567
+ private handleUploadUrlsMessage;
45563
45568
  onBegin(config: FullConfig, suite: Suite): void;
45564
45569
  getSuiteRunId(config: FullConfig<{}, {}>): string;
45565
45570
  onTestBegin(test: TestCase, result: TestResult): void;
@@ -45586,4 +45591,4 @@ declare function stablyReporter(options?: StablyReporterOptions): [string, any];
45586
45591
 
45587
45592
  export { StablyReporter as d, stablyReporter as s };
45588
45593
  export type { NotificationResultPolicy as N, ProjectNotificationConfig as P, StablyNotificationConfig as S, StablyEmailNotificationConfig as a, StablyReporterOptions as b, StablySlackNotificationConfig as c };
45589
- //# sourceMappingURL=index.d-Cdd7-KS-.d.cts.map
45594
+ //# sourceMappingURL=index.d-Cbdkyfd5.d.cts.map