From 5105c5283e1303df7a9ca89ec90861637d9e729c Mon Sep 17 00:00:00 2001 From: ecrupper Date: Mon, 30 Oct 2023 09:54:08 -0500 Subject: [PATCH] update hook fixture message --- cypress/fixtures/hooks_5.json | 2 +- cypress/integration/hooks.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/fixtures/hooks_5.json b/cypress/fixtures/hooks_5.json index 96a278db7..4864ccf1b 100644 --- a/cypress/fixtures/hooks_5.json +++ b/cypress/fixtures/hooks_5.json @@ -51,7 +51,7 @@ "host": "github.com", "event": "push", "branch": "main", - "error": "skipping build since only init step found. It is likely no rulesets matched for the webhook payload.", + "error": "skipping build since only init and clone steps found — it is likely no rulesets matched for the webhook payload", "status": "skipped", "link": "https://github.com/github/octocat/settings/hooks" }, diff --git a/cypress/integration/hooks.spec.js b/cypress/integration/hooks.spec.js index fc2ff8335..a574d097f 100644 --- a/cypress/integration/hooks.spec.js +++ b/cypress/integration/hooks.spec.js @@ -122,7 +122,7 @@ context('Hooks', () => { }); it('should show skip message', () => { cy.get('@message').contains( - 'skipping build since only init step found. It is likely no rulesets matched for the webhook payload.', + 'skipping build since only init and clone steps found — it is likely no rulesets matched for the webhook payload', ); }); });