rhdh-e2e-test-utils 1.1.9 → 1.1.10
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.
|
@@ -7,8 +7,8 @@ import { resolve } from "path";
|
|
|
7
7
|
export const baseConfig = {
|
|
8
8
|
testDir: "./tests",
|
|
9
9
|
forbidOnly: !!process.env.CI,
|
|
10
|
-
retries: process.env.
|
|
11
|
-
workers: "50%",
|
|
10
|
+
retries: Number(process.env.PLAYWRIGHT_RETRIES ?? 0),
|
|
11
|
+
workers: process.env.PLAYWRIGHT_WORKERS || "50%",
|
|
12
12
|
outputDir: "node_modules/.cache/e2e-test-results",
|
|
13
13
|
timeout: 90_000,
|
|
14
14
|
reporter: [
|
|
@@ -22,8 +22,8 @@ export const baseConfig = {
|
|
|
22
22
|
screenshot: "only-on-failure",
|
|
23
23
|
viewport: { width: 1920, height: 1080 },
|
|
24
24
|
video: {
|
|
25
|
-
mode: "on",
|
|
26
|
-
size: { width:
|
|
25
|
+
mode: "retain-on-failure",
|
|
26
|
+
size: { width: 1280, height: 720 },
|
|
27
27
|
},
|
|
28
28
|
actionTimeout: 10_000,
|
|
29
29
|
navigationTimeout: 50_000,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-metadata.d.ts","sourceRoot":"","sources":["../../src/utils/plugin-metadata.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin-metadata.d.ts","sourceRoot":"","sources":["../../src/utils/plugin-metadata.ts"],"names":[],"mappings":"AA8HA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,2EAA2E;IAC3E,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,sEAAsE;IACtE,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;CACpB;AAgBD;;;;;;;;GAQG;A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,EAAE,oBAAoB,EAC1C,YAAY,GAAE,MAA8B,GAC3C,OAAO,CAAC,oBAAoB,CAAC,CAuC/B"}
|
|
@@ -32,13 +32,13 @@ async function getOCIUrlsForPR(workspacePath, prNumber) {
|
|
|
32
32
|
throw new Error(`[PluginMetadata] Failed to parse GitHub repo from source.json: ${repo}`);
|
|
33
33
|
}
|
|
34
34
|
const ownerRepo = match[1];
|
|
35
|
-
//
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
.
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
// Parse plugins-list.yaml as YAML and extract keys (plugin paths)
|
|
36
|
+
const pluginsListContent = await fs.readFile(pluginsListPath, "utf-8");
|
|
37
|
+
const pluginsListData = yaml.load(pluginsListContent);
|
|
38
|
+
if (!pluginsListData || typeof pluginsListData !== "object") {
|
|
39
|
+
throw new Error(`[PluginMetadata] plugins-list.yaml is empty or invalid: ${pluginsListPath}`);
|
|
40
|
+
}
|
|
41
|
+
const pluginPaths = Object.keys(pluginsListData);
|
|
42
42
|
const workspaceName = path.basename(workspacePath);
|
|
43
43
|
console.log(`[PluginMetadata] Fetching versions for ${pluginPaths.length} plugins from source...`);
|
|
44
44
|
for (const pluginPath of pluginPaths) {
|