From 51119f22dffe873ef286438cadea256f75d84c66 Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Sun, 27 Nov 2022 18:54:41 +0000 Subject: [PATCH] test(e2e): make gitgraph snapshots consistent Add a commit id to 'should render a simple gitgraph with a title', as otherwise the gitgraph renderer picks a random commit ID, and so image snapshots will be different. --- cypress/integration/rendering/gitGraph.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/rendering/gitGraph.spec.js b/cypress/integration/rendering/gitGraph.spec.js index 0b5048b44..43f91a983 100644 --- a/cypress/integration/rendering/gitGraph.spec.js +++ b/cypress/integration/rendering/gitGraph.spec.js @@ -328,7 +328,7 @@ describe('Git Graph diagram', () => { title: simple gitGraph --- gitGraph - commit + commit id: "1-abcdefg" `, {} );