diff --git a/app/gui/integration-test/dashboard/actions/index.ts b/app/gui/integration-test/dashboard/actions/index.ts index d83238589606..a83e3e37fad2 100644 --- a/app/gui/integration-test/dashboard/actions/index.ts +++ b/app/gui/integration-test/dashboard/actions/index.ts @@ -72,8 +72,7 @@ async function login({ page }: MockParams, email = 'email@example.com', password async function waitForLoaded(page: Page) { await page.waitForLoadState() - await expect(page.getByTestId('spinner')).toHaveCount(0) - await expect(page.getByTestId('loading-app-message')).not.toBeVisible({ timeout: 30_000 }) + await expect(page.getByTestId('loading-screen')).toHaveCount(0, { timeout: 30_000 }) } /** Wait for the dashboard to load. */ diff --git a/app/gui/integration-test/dashboard/assetsTableFeatures.spec.ts b/app/gui/integration-test/dashboard/assetsTableFeatures.spec.ts index 86e68a69bdea..3be7e5461dbc 100644 --- a/app/gui/integration-test/dashboard/assetsTableFeatures.spec.ts +++ b/app/gui/integration-test/dashboard/assetsTableFeatures.spec.ts @@ -157,11 +157,11 @@ test("can't start an already running by another user", ({ page }) => }).driveTable.withRows(async (rows) => { const row = rows.first() const startProjectButton = row.getByTestId('open-project') + const stopProjectButton = row.getByTestId('stop-project') await expect(row).toBeVisible() await expect(row.getByTestId('switch-to-project')).not.toBeVisible() - await expect(startProjectButton).toBeDisabled() - await expect(startProjectButton).toHaveAccessibleName( - getText('xIsUsingTheProject', 'Test User'), - ) + await expect(startProjectButton).not.toBeVisible() + await expect(stopProjectButton).toBeDisabled() + await expect(stopProjectButton).toHaveAccessibleName(getText('xIsUsingTheProject', 'Test User')) })) diff --git a/app/gui/src/dashboard/pages/authentication/LoadingScreen.tsx b/app/gui/src/dashboard/pages/authentication/LoadingScreen.tsx index 4f445fd4f44a..9b172463f1aa 100644 --- a/app/gui/src/dashboard/pages/authentication/LoadingScreen.tsx +++ b/app/gui/src/dashboard/pages/authentication/LoadingScreen.tsx @@ -19,7 +19,10 @@ export default function LoadingScreen() { const { getText } = useText() return ( -