mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	SalesOrder migration unit test (#8814)
* Unit test for SalesOrder data migration * make field checks more stable * Adjust migration strategy * Fix for data migration * Simplify login test for playwright --------- Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
		| @@ -8,23 +8,6 @@ test('Login - Basic Test', async ({ page }) => { | ||||
|   // Check that the username is provided | ||||
|   await page.getByText(user.username); | ||||
|  | ||||
|   await expect(page).toHaveTitle(/^InvenTree/); | ||||
|  | ||||
|   // Go to the dashboard | ||||
|   await page.goto(baseUrl); | ||||
|   await page.waitForURL('**/platform'); | ||||
|  | ||||
|   await page.getByText('InvenTree Demo Server -').waitFor(); | ||||
|  | ||||
|   // Check that the username is provided | ||||
|   await page.getByText(user.username); | ||||
|  | ||||
|   await expect(page).toHaveTitle(/^InvenTree/); | ||||
|  | ||||
|   // Go to the dashboard | ||||
|   await page.goto(baseUrl); | ||||
|   await page.waitForURL('**/platform'); | ||||
|  | ||||
|   // Logout (via menu) | ||||
|   await page.getByRole('button', { name: 'Ally Access' }).click(); | ||||
|   await page.getByRole('menuitem', { name: 'Logout' }).click(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user