2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 11:40:58 +00:00

[PUI] Page titles (#8467)

* Add <PageTitle /> component

* Use useEffect to override hard-coded value

* Ensure page titles are tracked across the site

* Adjust unit tests

* Playwright test updates

* Tweak tests

* Update InvenTreeTable.tsx

Revert unused change
This commit is contained in:
Oliver
2024-11-13 06:49:28 +11:00
committed by GitHub
parent 113b9e9fd9
commit 7b50f3b1d3
14 changed files with 149 additions and 80 deletions

View File

@ -34,7 +34,7 @@ export const doQuickLogin = async (
await page.goto(`${url}/login/?login=${username}&password=${password}`);
await page.waitForURL('**/platform/home');
await page.getByText(/InvenTree Demo Server/).waitFor();
await page.getByText(/InvenTree Demo Server -/).waitFor();
};
export const doLogout = async (page) => {