2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-09 03:03:41 +00:00
Files
InvenTree/src/frontend/tests/customization/customization.spec.ts
T
github-actions[bot] ba2dbaead1 [UI] Fix ReturnOrder table (#11845) (#11851)
* [UI] Fix ReturnOrder table

- Closes https://github.com/inventree/InvenTree/issues/11833

* Add playwright test

(cherry picked from commit 76407d71b8)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-05-02 20:20:17 +10:00

21 lines
787 B
TypeScript

import test, { expect } from '@playwright/test';
import { navigate } from '../helpers';
/**
* Tests for user interface customization functionality.
*
* Note: The correct environment variables must be set for these tests to work correctly. See "playwright.config.ts" for details.
* These tests are designed to run in CI environments where specific environment variables are set to enable custom logos and splash screens. The tests verify that these customizations are correctly applied in the user interface.
*/
test('Customization - Splash', async ({ page }) => {
await navigate(page, '/');
await page.waitForLoadState('networkidle');
// Check for the custom splash screen
await expect(
page.locator('[style*="playwright_custom_splash.png"]')
).toBeVisible();
});