(row: Locator)
| 36 | } |
| 37 | |
| 38 | async function expectModifiedDiff(row: Locator) { |
| 39 | const editor = row.locator(".monaco-diff-editor"); |
| 40 | await expect(editor).toBeVisible(); |
| 41 | await expect( |
| 42 | editor.locator(".original .view-lines[role=presentation]"), |
| 43 | ).toContainText("def greet(name):"); |
| 44 | await expect( |
| 45 | editor.locator(".modified .view-lines[role=presentation]"), |
| 46 | ).toContainText("Welcome."); |
| 47 | } |
| 48 | |
| 49 | async function inMemoryModelCount(page: Page) { |
| 50 | return page.evaluate(() => { |
no outgoing calls
no test coverage detected