2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +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

@ -107,7 +107,7 @@ test('Forms - Supplier Validation', async ({ page, request }) => {
await page.getByLabel('text-field-name').fill(supplierName);
await page.getByRole('button', { name: 'Submit' }).click();
await page.getByText(supplierName).waitFor();
await page.getByText('A description').first().waitFor();
await page
.getByRole('link', { name: 'https://www.test-website.co.uk' })
.waitFor();