MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / expectModifiedDiff

Function expectModifiedDiff

tests/e2e/diff-editor-lifecycle.spec.ts:38–47  ·  view source on GitHub ↗
(row: Locator)

Source from the content-addressed store, hash-verified

36}
37
38async 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
49async function inMemoryModelCount(page: Page) {
50 return page.evaluate(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected