@camunda/e2e-test-suite 0.0.653 → 0.0.655
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.
|
@@ -124,7 +124,16 @@ if (process.env.IS_DS === 'true') {
|
|
|
124
124
|
const clientSecret = process.env.DISTRO_QA_E2E_TESTS_KEYCLOAK_CLIENTS_SECRET;
|
|
125
125
|
const endpoint = `${baseURL}/auth/realms/camunda-platform/protocol/openid-connect/token`;
|
|
126
126
|
await SM_8_10_1.test.step('Grant client admin access', async () => {
|
|
127
|
-
|
|
127
|
+
// After a minor upgrade, the demo user's authorization for the Admin
|
|
128
|
+
// application can take time to propagate; until it does, /admin
|
|
129
|
+
// redirects to /admin/forbidden and the navigation tabs never render.
|
|
130
|
+
// Re-navigate until the Roles tab is available to ride out that delay.
|
|
131
|
+
await (0, test_1.expect)(async () => {
|
|
132
|
+
await navigationPage.goToOCAdmin();
|
|
133
|
+
await (0, test_1.expect)(ocIdentityHomePage.rolesTab).toBeVisible({
|
|
134
|
+
timeout: 15000,
|
|
135
|
+
});
|
|
136
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
128
137
|
await ocIdentityHomePage.clickRolesTab();
|
|
129
138
|
await ocIdentityRolesPage.clickRole('admin');
|
|
130
139
|
await ocIdentityRolesPage.addClientToRole('test');
|