Skip to content

Commit

Permalink
Force failure in tests to check the reporting works properly
Browse files Browse the repository at this point in the history
Signed-off-by: Jesús Benito Calzada <bjesus@vmware.com>
  • Loading branch information
Jesús Benito Calzada committed Oct 11, 2022
1 parent 8a897e1 commit d405e1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration/tests/carvel/04-default-deployment.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test("Deploys package with default values in main cluster", async ({ page }) =>
await page.waitForSelector("css=.application-status-pie-chart-number >> text=3", {
timeout: utils.getDeploymentTimeout(),
});
await page.waitForSelector("css=.application-status-pie-chart-title >> text=Ready", {
await page.waitForSelector("css=.application-status-pie-chart-title >> text=ReadyFoo", {
timeout: utils.getDeploymentTimeout(),
});

Expand Down
2 changes: 1 addition & 1 deletion integration/tests/main/00-log-in.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ test.describe("Log in", () => {
// like `process.env.VIEW_USER` and `process.env.VIEW_PASSWORD` or similar
await k.doLogin("kubeapps-user@example.com", "password", process.env.VIEW_TOKEN);

await page.waitForSelector('css=h1 >> text="Applications"');
await page.waitForSelector('css=h1 >> text="ApplicationsFoo"');
});
});
2 changes: 1 addition & 1 deletion integration/tests/operators/06-operator-deployment.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test("Deploys an Operator", async ({ page }) => {

// Go to operators page
await page.goto(utils.getUrl("/#/c/default/ns/kubeapps/operators"));
await page.waitForSelector('h1:has-text("Operators")');
await page.waitForSelector('h1:has-text("OperatorsFoo")');
await page.waitForFunction('document.querySelector("cds-progress-circle") === null');

// Select operator to deploy
Expand Down

0 comments on commit d405e1a

Please sign in to comment.