@camunda/e2e-test-suite 0.0.1417 → 0.0.1419
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.
|
@@ -38,15 +38,23 @@ _8_10_1.test.describe('SaaS Migration Path Tests', () => {
|
|
|
38
38
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
39
39
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
40
40
|
});
|
|
41
|
-
(0, _8_10_1.test)('SaaS UI Upgrade Flow Automation @saasUpgrade', async ({ homePage, clusterPage, clusterDetailsPage, }) => {
|
|
41
|
+
(0, _8_10_1.test)('SaaS UI Upgrade Flow Automation @saasUpgrade', async ({ page, homePage, clusterPage, clusterDetailsPage, }) => {
|
|
42
42
|
_8_10_1.test.slow();
|
|
43
43
|
await _8_10_1.test.step('Navigate to SaaS Upgrade Section', async () => {
|
|
44
44
|
await homePage.clickClusters();
|
|
45
45
|
await clusterPage.clickClusterLink('Test Cluster');
|
|
46
46
|
await clusterDetailsPage.performClusterUpdate();
|
|
47
|
+
// Right after clicking Update, the list still shows the pre-update row
|
|
48
|
+
// ("Camunda 8.9+gen23 - update available", Healthy), so a healthy check
|
|
49
|
+
// alone passes against stale state. Reload until the row reports 8.10,
|
|
50
|
+
// then wait for the updated cluster to become healthy. The list only
|
|
51
|
+
// re-reads server-side status on reload, so reload on every poll.
|
|
47
52
|
await homePage.clickClusters();
|
|
53
|
+
await (0, test_1.expect)(async () => {
|
|
54
|
+
await page.reload();
|
|
55
|
+
await (0, test_1.expect)(clusterPage.clusterVersion('Test Cluster', '8.10')).toBeVisible({ timeout: 15000 });
|
|
56
|
+
}).toPass({ timeout: 300000 });
|
|
48
57
|
await clusterPage.assertClusterHealthyStatusWithRetry('Test Cluster');
|
|
49
|
-
await (0, test_1.expect)(clusterPage.clusterVersion('Test Cluster', '8.10')).toBeVisible({ timeout: 30000 });
|
|
50
58
|
});
|
|
51
59
|
});
|
|
52
60
|
(0, _8_10_1.test)('Basic Navigation After SaaS Upgrade', async ({ homePage, appsPage, modelerHomePage, operateHomePage, optimizeHomePage, taskPanelPage, ocIdentityHomePage, }) => {
|
package/package.json
CHANGED
package/playwright.config.ts
CHANGED
|
@@ -503,7 +503,7 @@ export default defineConfig({
|
|
|
503
503
|
|
|
504
504
|
function getBaseURL(): string {
|
|
505
505
|
if (process.env.IS_PROD === 'true') {
|
|
506
|
-
return 'https://
|
|
506
|
+
return 'https://hub.camunda.io';
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
if (typeof process.env.PLAYWRIGHT_BASE_URL === 'string') {
|