@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/create-suite.cjs.map +1 -1
- package/dist/create-suite.mjs +30 -4
- package/dist/create-suite.mjs.map +1 -1
- package/dist/{index-DsxNMv2-.mjs → index-CzSSL_f7.mjs} +1958 -2074
- package/dist/index-CzSSL_f7.mjs.map +1 -0
- package/dist/{index-CFruORhJ.cjs → index-D7GNnxbC.cjs} +1960 -2076
- package/dist/index-D7GNnxbC.cjs.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/{index.d-Cdd7-KS-.d.cts → index.d-Cbdkyfd5.d.cts} +7 -2
- package/dist/{index.d-Cdd7-KS-.d.cts.map → index.d-Cbdkyfd5.d.cts.map} +1 -1
- package/dist/{index.d-Cdd7-KS-.d.ts → index.d-Cbdkyfd5.d.mts} +7 -2
- package/dist/{index.d-Cdd7-KS-.d.mts.map → index.d-Cbdkyfd5.d.mts.map} +1 -1
- package/dist/{index.d-Cdd7-KS-.d.mts → index.d-Cbdkyfd5.d.ts} +7 -2
- package/dist/{index.d-Cdd7-KS-.d.ts.map → index.d-Cbdkyfd5.d.ts.map} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/reporter.cjs +2 -2
- package/dist/reporter.d.cts +1 -1
- package/dist/reporter.d.mts +1 -1
- package/dist/reporter.mjs +2 -2
- package/package.json +3 -3
- package/dist/index-CFruORhJ.cjs.map +0 -1
- package/dist/index-DsxNMv2-.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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-
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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-
|
|
45594
|
+
//# sourceMappingURL=index.d-Cbdkyfd5.d.cts.map
|