@camunda/e2e-test-suite 0.0.1665 → 0.0.1667
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.
|
@@ -59,13 +59,14 @@ _8_10_1.test.describe('Cluster Setup Tests', () => {
|
|
|
59
59
|
await clusterDetailsPage.clickAPITab();
|
|
60
60
|
const zeebeCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName);
|
|
61
61
|
await clusterDetailsPage.clickCloseModalButton();
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
63
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
64
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
65
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
66
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
67
|
+
// fix against the org that failed.
|
|
68
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
69
|
+
fs_1.default.writeFileSync('cluster-credentials.json', JSON.stringify(zeebeCredentials), { mode: 0o600 });
|
|
69
70
|
// Deliberately NOT extended to RUN_FULL_SUITE like the API client
|
|
70
71
|
// above: clickConnectorSecretsTab hits the same pre-existing "click
|
|
71
72
|
// after 3 attempts" UI-contention flakiness seen throughout this
|
|
@@ -130,13 +131,14 @@ _8_10_1.test.describe('Cluster Setup Tests', () => {
|
|
|
130
131
|
await clusterPage.clickClusterLink(clusterName);
|
|
131
132
|
await clusterDetailsPage.clickAPITab();
|
|
132
133
|
const agenticCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName, true, 'agentic_cluster');
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
134
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
135
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
136
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
137
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
138
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
139
|
+
// fix against the org that failed.
|
|
140
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
141
|
+
fs_1.default.writeFileSync('agentic-cluster-credentials.json', JSON.stringify(agenticCredentials), { mode: 0o600 });
|
|
140
142
|
await clusterDetailsPage.clickCloseModalButton();
|
|
141
143
|
const mcpCredentials = await clusterDetailsPage.createMCPClientAndReturnVariables(mcpClientName);
|
|
142
144
|
await clusterDetailsPage.clickCloseModalButton();
|
|
@@ -54,13 +54,14 @@ _8_11_1.test.describe('Cluster Setup Tests', () => {
|
|
|
54
54
|
await clusterDetailsPage.clickAPITab();
|
|
55
55
|
const zeebeCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName);
|
|
56
56
|
await clusterDetailsPage.clickCloseModalButton();
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
58
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
59
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
60
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
61
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
62
|
+
// fix against the org that failed.
|
|
63
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
64
|
+
fs_1.default.writeFileSync('cluster-credentials.json', JSON.stringify(zeebeCredentials), { mode: 0o600 });
|
|
64
65
|
// Deliberately NOT extended to RUN_FULL_SUITE like the API client
|
|
65
66
|
// above: clickConnectorSecretsTab hits the same pre-existing "click
|
|
66
67
|
// after 3 attempts" UI-contention flakiness seen throughout this
|
|
@@ -114,13 +115,14 @@ _8_11_1.test.describe('Cluster Setup Tests', () => {
|
|
|
114
115
|
await clusterPage.clickClusterLink(clusterName);
|
|
115
116
|
await clusterDetailsPage.clickAPITab();
|
|
116
117
|
const agenticCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName, true, 'agentic_cluster');
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
119
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
120
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
121
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
122
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
123
|
+
// fix against the org that failed.
|
|
124
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
125
|
+
fs_1.default.writeFileSync('agentic-cluster-credentials.json', JSON.stringify(agenticCredentials), { mode: 0o600 });
|
|
124
126
|
await clusterDetailsPage.clickCloseModalButton();
|
|
125
127
|
const mcpCredentials = await clusterDetailsPage.createMCPClientAndReturnVariables(mcpClientName);
|
|
126
128
|
await clusterDetailsPage.clickCloseModalButton();
|
|
@@ -65,13 +65,14 @@ _8_8_1.test.describe('Cluster Setup Tests', () => {
|
|
|
65
65
|
await clusterDetailsPage.clickAPITab();
|
|
66
66
|
const zeebeCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName);
|
|
67
67
|
await clusterDetailsPage.clickCloseModalButton();
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
69
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
70
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
71
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
72
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
73
|
+
// fix against the org that failed.
|
|
74
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
75
|
+
fs_1.default.writeFileSync('cluster-credentials.json', JSON.stringify(zeebeCredentials), { mode: 0o600 });
|
|
75
76
|
// Deliberately NOT extended to RUN_FULL_SUITE like the API client
|
|
76
77
|
// above: connector-secrets creation is on test-setup's blocking
|
|
77
78
|
// critical path, and its own transient flakiness would take down
|
|
@@ -51,13 +51,14 @@ _8_9_1.test.describe('Cluster Setup Tests', () => {
|
|
|
51
51
|
await clusterDetailsPage.clickAPITab();
|
|
52
52
|
const zeebeCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName);
|
|
53
53
|
await clusterDetailsPage.clickCloseModalButton();
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
55
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
56
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
57
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
58
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
59
|
+
// fix against the org that failed.
|
|
60
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
61
|
+
fs_1.default.writeFileSync('cluster-credentials.json', JSON.stringify(zeebeCredentials), { mode: 0o600 });
|
|
61
62
|
// Deliberately NOT extended to RUN_FULL_SUITE like the API client
|
|
62
63
|
// above: connector-secrets creation is on test-setup's blocking
|
|
63
64
|
// critical path, and its own transient flakiness would take down
|
|
@@ -92,7 +93,15 @@ _8_9_1.test.describe('Cluster Setup Tests', () => {
|
|
|
92
93
|
await clusterPage.assertClusterHealthyStatusWithRetry(clusterName);
|
|
93
94
|
await clusterPage.clickClusterLink(clusterName);
|
|
94
95
|
await clusterDetailsPage.clickAPITab();
|
|
95
|
-
await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName, true, 'agentic_cluster');
|
|
96
|
+
const agenticCredentials = await clusterDetailsPage.createAPIClientAndReturnVariables(apiClientName, true, 'agentic_cluster');
|
|
97
|
+
// Written to disk, not just process.env: a process that did not run this
|
|
98
|
+
// setup cannot inherit its env mutations. Two consumers need that -- the
|
|
99
|
+
// full-suite pass, which runs as a separate `npm run test` (see
|
|
100
|
+
// run-tests-smoke-int's action.yml), and the nightly's kept-org snapshot
|
|
101
|
+
// (run-tests-saas's action.yml), which the fix agent restores to verify a
|
|
102
|
+
// fix against the org that failed.
|
|
103
|
+
// mode 0o600: this file holds a live Zeebe API client secret.
|
|
104
|
+
fs_1.default.writeFileSync('agentic-cluster-credentials.json', JSON.stringify(agenticCredentials), { mode: 0o600 });
|
|
96
105
|
await clusterDetailsPage.clickCloseModalButton();
|
|
97
106
|
const mcpCredentials = await clusterDetailsPage.createMCPClientAndReturnVariables(mcpClientName);
|
|
98
107
|
await clusterDetailsPage.clickCloseModalButton();
|