Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .ibm/pipelines/resources/rhdh-operator/rhdh-start-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,18 @@ spec:
configMaps:
- name: rbac-policy
mountPath: /opt/app-root/src/rbac
deployment:
patch:
spec:
template:
spec:
volumes:
- name: dynamic-plugins-root
ephemeral:
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
15 changes: 15 additions & 0 deletions .ibm/pipelines/resources/rhdh-operator/rhdh-start.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,18 @@ spec:
secrets:
- name: rhdh-secrets
- name: redis-secret
deployment:
patch:
spec:
template:
spec:
volumes:
- name: dynamic-plugins-root
ephemeral:
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
2 changes: 1 addition & 1 deletion .ibm/pipelines/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ deploy_orchestrator_workflows() {
oc apply -f "${WORKFLOW_MANIFESTS}"

helm repo add orchestrator-workflows https://rhdhorchestrator.io/serverless-workflows
helm install greeting orchestrator-workflows/greeting -n "$namespace"
helm install greeting orchestrator-workflows/greeting -n "$namespace" --wait --timeout=5m

until [[ $(oc get sf -n "$namespace" --no-headers 2> /dev/null | wc -l) -eq 2 ]]; do
echo "No sf resources found. Retrying in 5 seconds..."
Expand Down
10 changes: 10 additions & 0 deletions e2e-tests/playwright/support/pages/orchestrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,16 @@ export class Orchestrator {
}
}

async selectGreetingWorkflowItem() {
const workflowHeader = this.page.getByRole("heading", {
name: "Workflows",
});
await expect(workflowHeader).toBeVisible();
await expect(workflowHeader).toHaveText("Workflows");
await expect(Workflows.workflowsTable(this.page)).toBeVisible();
await this.page.getByRole("link", { name: "Greeting workflow" }).click();
}

async getPageUrl() {
return this.page.url();
}
Expand Down
4 changes: 4 additions & 0 deletions e2e-tests/playwright/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ export class Common {
await new Promise<void>((resolve) => {
this.page.once("popup", async (popup) => {
await popup.waitForLoadState();
// Wait for login button to be visible with longer timeout for slow Keycloak responses
await popup
.locator("#kc-login")
.waitFor({ state: "visible", timeout: 30000 });
await popup.locator("#username").fill(userid);
await popup.locator("#password").fill(password);
await popup.locator("#kc-login").click();
Expand Down
Loading