Skip to content

Commit

Permalink
fix osd operator job
Browse files Browse the repository at this point in the history
  • Loading branch information
subhashkhileri committed Feb 9, 2025
1 parent 30286b5 commit 3303a48
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .ibm/pipelines/jobs/operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ initiate_operator_deployments() {
}

handle_operator() {
NAME_SPACE="showcase-operator-nightly"
NAME_SPACE_RBAC="showcase-op-rbac-nightly"

oc_login

export K8S_CLUSTER_ROUTER_BASE=$(oc get route console -n openshift-console -o=jsonpath='{.spec.host}' | sed 's/^[^.]*\.//')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test.describe("dynamic-plugins-info UI tests", () => {
await page
.getByPlaceholder("Search")
.pressSequentially("plugin-3scale-backend-dynamic\n", {
delay: 300,
delay: 100,
});
const row = await page.locator(
UI_HELPER_ELEMENTS.rowByText(
Expand Down
13 changes: 6 additions & 7 deletions e2e-tests/playwright/e2e/plugins/topology/topology.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test.describe("Test Topology Plugin", () => {
});

test("Verify pods visibility in the Topology tab", async ({ page }) => {
test.setTimeout(150000);
await catalog.goToBackstageJanusProject();
await uiHelper.clickTab("Topology");
await uiHelper.verifyText("backstage-janus");
Expand Down Expand Up @@ -71,14 +72,12 @@ test.describe("Test Topology Plugin", () => {
);
await uiHelper.clickTab("Resources");
await uiHelper.verifyText("P");
expect(await page.getByTestId("icon-with-title-Running")).toBeVisible();
expect(
await page.getByTestId("icon-with-title-Running").locator("svg"),
await expect(page.getByTestId("icon-with-title-Running")).toBeVisible();
await expect(
page.getByTestId("icon-with-title-Running").locator("svg"),
).toBeVisible();
expect(
await page
.getByTestId("icon-with-title-Running")
.getByTestId("status-text"),
await expect(
page.getByTestId("icon-with-title-Running").getByTestId("status-text"),
).toHaveText("Running");
await uiHelper.verifyHeading("PipelineRuns");
await uiHelper.verifyText("PL");
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/playwright/utils/ui-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export class UIhelper {
}

async verifyTextInTooltip(text: string | RegExp) {
const tooltip = await this.page.getByRole("tooltip").getByText(text);
expect(tooltip).toBeVisible();
const tooltip = this.page.getByRole("tooltip").getByText(text);
await expect(tooltip).toBeVisible();
}
}

0 comments on commit 3303a48

Please sign in to comment.