From de3e180cf4fc0980d5534b9c22d78df019e4a997 Mon Sep 17 00:00:00 2001 From: Dave Lockhart Date: Tue, 25 Jul 2023 09:53:25 -0400 Subject: [PATCH] Update src/server/visual-diff-reporter.js Co-authored-by: Danny Gleckler --- src/server/visual-diff-reporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/visual-diff-reporter.js b/src/server/visual-diff-reporter.js index fb716e7d..27aa348b 100644 --- a/src/server/visual-diff-reporter.js +++ b/src/server/visual-diff-reporter.js @@ -25,7 +25,7 @@ function createData(rootDir, sessions) { browsers.set(browserName, { name: browserName, numFailed: 0, - version: parseInt(s.browser.browser.version().substring(0, s.browser.browser.version().indexOf('.'))), + version: parseInt(s.browser.browser.version()), previousVersion: prevBrowser?.version }); }