mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-20 06:57:57 +00:00
feat(frontend): Add filter navigation remove button (#12668)
* feat(frontend): Add filter navigation remove button * extend docs * extract and extend labels * add spacer * fix test * small fix * remove unneeded labels * add mechanism for not triggering on viewsets * reduce diff for now * fix test --------- Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
1 parent
be9faff766
commit
71787d4546
9 files changed
+55
-16
No files matched your search
@@ -243,13 +243,13 @@ test('Tables - Detail navigation', async ({ browser }) => {
|
||||
const detailNavigation = breadcrumbBar.getByTestId('detail-navigation');
|
||||
await expect(detailNavigation).toBeVisible();
|
||||
|
||||
const previous = page.getByLabel('Previous', { exact: true });
|
||||
const previous = page.getByLabel('Previous item', { exact: true });
|
||||
await expect(previous).toBeVisible();
|
||||
await expect(previous.locator('svg')).toBeVisible();
|
||||
await expect(previous).toHaveAttribute('data-disabled', 'true');
|
||||
await expect(previous).not.toHaveAttribute('href');
|
||||
|
||||
const next = page.getByLabel('Next', { exact: true });
|
||||
const next = page.getByLabel('Next item', { exact: true });
|
||||
await expect(next).toBeVisible();
|
||||
await expect(next.locator('svg')).toBeVisible();
|
||||
await expect(next).not.toHaveAttribute('data-disabled');
|
||||
|
||||
Reference in new issue
Block a user