2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-02-25 16:17:58 +00:00

[UI] Copy cells expansion (#11410)

* Prevent copy button if copy value is null

* Add "link" columns to order tables

* Support copy for default column types

* Tweak padding to avoid flickering issues

* Refactor IPNColumn

* Adjust visual styling

* Copy for SKU and MPN columns

* Add more copy columns

* More tweaks

* Tweak playwright testing

* Further cleanup

* More copy cols
This commit is contained in:
Oliver
2026-02-24 11:44:14 +11:00
committed by GitHub
parent 8a2adda1e1
commit 449bd4e5a0
26 changed files with 142 additions and 122 deletions

View File

@@ -31,7 +31,7 @@ test('Purchasing - Index', async ({ browser }) => {
// Clearing the filters, more orders should be visible
await clearTableFilters(page);
await page.getByText(/1 - 1\d \/ 1\d/).waitFor();
await page.getByText(/1 - \d\d \/ \d\d/).waitFor();
// Suppliers tab
await loadTab(page, 'Suppliers');
@@ -49,9 +49,11 @@ test('Purchasing - Index', async ({ browser }) => {
// Check for expected values
await clearTableFilters(page);
await page
.getByRole('textbox', { name: 'table-search-input' })
.fill('R_100K_0402');
await page.getByText('R_100K_0402_1%').first().waitFor();
await page.getByRole('cell', { name: 'RR05P100KDTR-ND' }).first().waitFor();
await page.getByRole('cell', { name: 'RT0402BRD07100KL' }).first().waitFor();
// Manufacturers tab
await loadTab(page, 'Manufacturers');