diff --git a/ui/desktop/tests/end2end/targets.spec.js b/ui/desktop/tests/end2end/targets.spec.js index e3d59c558..2ee467d17 100644 --- a/ui/desktop/tests/end2end/targets.spec.js +++ b/ui/desktop/tests/end2end/targets.spec.js @@ -1,7 +1,6 @@ /* eslint-disable no-undef */ const { test, expect } = require('@playwright/test'); const { _electron: electron } = require('playwright'); -<<<<<<< HEAD const { generateScreenshotPath, returnExecutablePath, @@ -10,12 +9,6 @@ const { let electronApp = null; const screenshotsDirectory = 'targets/'; const executablePath = returnExecutablePath(process.platform, process.arch); -======= -const { generateScreenshotPath } = require('./test-helpers'); - -let electronApp = null; -const screenshotsDirectory = 'targets/'; ->>>>>>> 8c489b81 (refactor: 💡 Create generateScreenshotPath as test helper) test.beforeEach(async () => { electronApp = await electron.launch({ diff --git a/ui/desktop/tests/end2end/test-helpers.js b/ui/desktop/tests/end2end/test-helpers.js index ffd01eae8..ff6902143 100644 --- a/ui/desktop/tests/end2end/test-helpers.js +++ b/ui/desktop/tests/end2end/test-helpers.js @@ -9,18 +9,13 @@ const path = require('path'); */ exports.generateScreenshotPath = (screenshotTestDirectory, fileName) => { const screenshotFormat = '.png'; -<<<<<<< HEAD const screenshotsRootPath = path.join(__dirname, 'screenshots'); -======= - const screenshotsRootPath = path.join(__dirname, '/screenshots/'); ->>>>>>> 8c489b81 (refactor: 💡 Create generateScreenshotPath as test helper) const screenshotPath = path.join( screenshotsRootPath, screenshotTestDirectory ); return path.join(screenshotPath, fileName).concat(screenshotFormat); }; -<<<<<<< HEAD /** * @@ -47,5 +42,3 @@ exports.returnExecutablePath = (platform, arch) => { console.error(error); } }; -======= ->>>>>>> 8c489b81 (refactor: 💡 Create generateScreenshotPath as test helper)