mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-13 08:21:26 +00:00
Remove <Playground> from PUI frontend (#8276)
* Remove <Playground> from PUI frontend - Components are now mature enough with sufficient examples in the codebase * Remove dead code
This commit is contained in:
@ -97,24 +97,5 @@ test('Quick Command - No Keys', async ({ page }) => {
|
||||
.click();
|
||||
await page.waitForURL('https://docs.inventree.org/**');
|
||||
|
||||
// Test addition of new actions
|
||||
await page.goto(`${baseUrl}/playground`);
|
||||
await page.locator('p').filter({ hasText: 'Playground' }).waitFor();
|
||||
await page.getByRole('button', { name: 'Spotlight actions' }).click();
|
||||
await page.getByRole('button', { name: 'Register extra actions' }).click();
|
||||
/*
|
||||
await page.getByPlaceholder('Search...').fill('secret');
|
||||
await page.getByRole('button', { name: 'Secret action It was' }).click();
|
||||
await page.getByLabel('open-spotlight').click();
|
||||
await page.getByPlaceholder('Search...').fill('Another secret action');
|
||||
await page
|
||||
.getByRole('button', {
|
||||
name: 'Another secret action You can register multiple actions with just one command'
|
||||
})
|
||||
.click();
|
||||
await page.getByRole('tab', { name: 'Home' }).click();
|
||||
await page.getByLabel('open-spotlight').click();
|
||||
*/
|
||||
await page.getByPlaceholder('Search...').fill('secret');
|
||||
await page.getByText('Nothing found...').click();
|
||||
// TODO: Test addition of new actions
|
||||
});
|
||||
|
Reference in New Issue
Block a user