fix: When text is selected from right to left and then replaced with … #4350
Annotations
4 errors and 1 notice
          | 
                   
                      
                          Run test:integration: 
                        playwright/integration/examples/huge-document.test.ts#L9
                      
                       
                    1) [firefox] › playwright/integration/examples/huge-document.test.ts:8:7 › huge document example › uses chunking 
    Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
    Error: Timed out 8000ms waiting for expect(locator).toHaveValue(expected)
    Locator: getByLabel('Blocks')
    Expected string: "10000"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 8000ms
      - waiting for getByLabel('Blocks')
       7 |
       8 |   test('uses chunking', async ({ page }) => {
    >  9 |     await expect(page.getByLabel('Blocks')).toHaveValue('10000')
         |                                             ^
      10 |     await expect(page.getByLabel('Chunk size')).toHaveValue('1000')
      11 |     await expect(page.locator('[data-slate-chunk]')).toHaveCount(10)
      12 |   })
        at /home/runner/work/slate/slate/playwright/integration/examples/huge-document.test.ts:9:45 
                         | 
              
| 
                   
                      
                          Run test:integration: 
                        playwright/integration/examples/huge-document.test.ts#L9
                      
                       
                    1) [firefox] › playwright/integration/examples/huge-document.test.ts:8:7 › huge document example › uses chunking 
    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    Error: Timed out 8000ms waiting for expect(locator).toHaveValue(expected)
    Locator: getByLabel('Blocks')
    Expected string: "10000"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 8000ms
      - waiting for getByLabel('Blocks')
       7 |
       8 |   test('uses chunking', async ({ page }) => {
    >  9 |     await expect(page.getByLabel('Blocks')).toHaveValue('10000')
         |                                             ^
      10 |     await expect(page.getByLabel('Chunk size')).toHaveValue('1000')
      11 |     await expect(page.locator('[data-slate-chunk]')).toHaveCount(10)
      12 |   })
        at /home/runner/work/slate/slate/playwright/integration/examples/huge-document.test.ts:9:45 
                         | 
              
| 
                   
                      
                          Run test:integration: 
                        playwright/integration/examples/huge-document.test.ts#L9
                      
                       
                    1) [firefox] › playwright/integration/examples/huge-document.test.ts:8:7 › huge document example › uses chunking 
    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    Error: Timed out 8000ms waiting for expect(locator).toHaveValue(expected)
    Locator: getByLabel('Blocks')
    Expected string: "10000"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 8000ms
      - waiting for getByLabel('Blocks')
       7 |
       8 |   test('uses chunking', async ({ page }) => {
    >  9 |     await expect(page.getByLabel('Blocks')).toHaveValue('10000')
         |                                             ^
      10 |     await expect(page.getByLabel('Chunk size')).toHaveValue('1000')
      11 |     await expect(page.locator('[data-slate-chunk]')).toHaveCount(10)
      12 |   })
        at /home/runner/work/slate/slate/playwright/integration/examples/huge-document.test.ts:9:45 
                         | 
              
| 
                   
                      
                          Run test:integration: 
                        playwright/integration/examples/huge-document.test.ts#L9
                      
                       
                    1) [firefox] › playwright/integration/examples/huge-document.test.ts:8:7 › huge document example › uses chunking 
    Error: Timed out 8000ms waiting for expect(locator).toHaveValue(expected)
    Locator: getByLabel('Blocks')
    Expected string: "10000"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 8000ms
      - waiting for getByLabel('Blocks')
       7 |
       8 |   test('uses chunking', async ({ page }) => {
    >  9 |     await expect(page.getByLabel('Blocks')).toHaveValue('10000')
         |                                             ^
      10 |     await expect(page.getByLabel('Chunk size')).toHaveValue('1000')
      11 |     await expect(page.locator('[data-slate-chunk]')).toHaveCount(10)
      12 |   })
        at /home/runner/work/slate/slate/playwright/integration/examples/huge-document.test.ts:9:45 
                         | 
              
| 
                   
                      
                          Run test:integration
                        
                      
                       
                    1 flaky
    [firefox] › playwright/integration/examples/huge-document.test.ts:8:7 › huge document example › uses chunking 
  2 skipped
  75 passed (2.5m) 
                         | 
              
        
      Loading