refactor codeToIdSelections (#5432)
				
					
				
			* add test for original range to artifact conversion * try naieve refactor * types clean up * typo * break function into smaller functions * optimizations * better comments * camera test tweak * fmt * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * overflow fix * update binary search to ignore end ranges * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * break binary search into sub function --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 145 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 129 KiB  | 
@ -94,6 +94,8 @@ test.describe('Testing Camera Movement', { tag: ['@skipWin'] }, () => {
 | 
			
		||||
    await bakeInRetries(async () => {
 | 
			
		||||
      await page.mouse.move(700, 200)
 | 
			
		||||
      await page.mouse.down({ button: 'right' })
 | 
			
		||||
      await page.waitForTimeout(100)
 | 
			
		||||
 | 
			
		||||
      const appLogoBBox = await page.getByTestId('app-logo').boundingBox()
 | 
			
		||||
      expect(appLogoBBox).not.toBeNull()
 | 
			
		||||
      if (!appLogoBBox) throw new Error('app logo not found')
 | 
			
		||||
@ -101,7 +103,9 @@ test.describe('Testing Camera Movement', { tag: ['@skipWin'] }, () => {
 | 
			
		||||
        appLogoBBox.x + appLogoBBox.width / 2,
 | 
			
		||||
        appLogoBBox.y + appLogoBBox.height / 2
 | 
			
		||||
      )
 | 
			
		||||
      await page.waitForTimeout(100)
 | 
			
		||||
      await page.mouse.move(600, 303)
 | 
			
		||||
      await page.waitForTimeout(100)
 | 
			
		||||
      await page.mouse.up({ button: 'right' })
 | 
			
		||||
    }, [4, -10.5, -120])
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user