mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Notification permissions (#9449)
* Updated type hints * Fix tooltip bug * Check user when sending notification * Fix test * Update unit test * More unit test fixes * Tweak playwright tests
This commit is contained in:
		| @@ -75,9 +75,14 @@ test('Plugins - Functionality', async ({ browser }) => { | ||||
|   // Activate the plugin | ||||
|   const cell = await page.getByText('Sample API Caller', { exact: true }); | ||||
|   await clickOnRowMenu(cell); | ||||
|   await page.getByRole('menuitem', { name: 'Activate' }).click(); | ||||
|   await page.getByRole('button', { name: 'Submit' }).click(); | ||||
|   await page.getByText('The plugin was activated').waitFor(); | ||||
|   await page.waitForTimeout(100); | ||||
|  | ||||
|   // Activate the plugin (unless already activated) | ||||
|   if ((await page.getByRole('menuitem', { name: 'Deactivate' }).count()) == 0) { | ||||
|     await page.getByRole('menuitem', { name: 'Activate' }).click(); | ||||
|     await page.getByRole('button', { name: 'Submit' }).click(); | ||||
|     await page.getByText('The plugin was activated').waitFor(); | ||||
|   } | ||||
|  | ||||
|   // Deactivate the plugin again | ||||
|   await clickOnRowMenu(cell); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user