From 811ef3e72d18c26dc431e47b877d95b82d0877c8 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 13 May 2025 21:36:52 -0700 Subject: [PATCH] fix pw test i turned off (#6921) updates Signed-off-by: Jess Frazelle --- e2e/playwright/testing-samples-loading.spec.ts | 6 +++--- flake.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/playwright/testing-samples-loading.spec.ts b/e2e/playwright/testing-samples-loading.spec.ts index 66a220dbb..4fa18f879 100644 --- a/e2e/playwright/testing-samples-loading.spec.ts +++ b/e2e/playwright/testing-samples-loading.spec.ts @@ -100,9 +100,9 @@ test.describe('Testing loading external models', () => { // Locators and constants const sampleOne = { - file: 'pillow-block-bearing' + FILE_EXT, - title: 'Pillow Block Bearing', - file1: 'pillow-block-bearing-1' + FILE_EXT, + file: 'ball-bearing' + FILE_EXT, + title: 'Ball Bearing', + file1: 'ball-bearing-1' + FILE_EXT, } const projectCard = page.getByRole('link', { name: 'bracket' }) const overwriteWarning = page.getByText( diff --git a/flake.nix b/flake.nix index 959b62b0c..92e455211 100644 --- a/flake.nix +++ b/flake.nix @@ -74,7 +74,7 @@ LIBCLANG_PATH = "${pkgs.libclang.lib}/lib"; ELECTRON_OVERRIDE_DIST_PATH = if pkgs.stdenv.isDarwin - then "${pkgs.electron}/Applications" + then "${pkgs.electron}/Applications/Electron.app/Contents/MacOS/" else "${pkgs.electron}/bin"; PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS = true; PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH = "${pkgs.playwright-driver.browsers}/chromium-1091/chrome-linux/chrome";