feat: improve epub reader controls and annotations
This commit is contained in:
@@ -29,7 +29,7 @@ final class SelectionAnnotateTests: XCTestCase {
|
||||
Thread.sleep(forTimeInterval: 0.5)
|
||||
|
||||
// 点击批注菜单项
|
||||
let annotateItem = app.menuItems["批注"]
|
||||
let annotateItem = app.menuItems["注释"]
|
||||
guard annotateItem.waitForExistence(timeout: 3) else {
|
||||
throw XCTSkip("批注菜单项不存在")
|
||||
}
|
||||
@@ -56,7 +56,7 @@ final class SelectionAnnotateTests: XCTestCase {
|
||||
|
||||
Thread.sleep(forTimeInterval: 0.5)
|
||||
|
||||
let annotateItem = app.menuItems["批注"]
|
||||
let annotateItem = app.menuItems["注释"]
|
||||
guard annotateItem.waitForExistence(timeout: 3) else {
|
||||
throw XCTSkip("批注菜单项不存在")
|
||||
}
|
||||
@@ -101,7 +101,7 @@ final class SelectionAnnotateTests: XCTestCase {
|
||||
start.press(forDuration: 0.8, thenDragTo: end)
|
||||
Thread.sleep(forTimeInterval: 0.5)
|
||||
|
||||
let highlightItem = app.menuItems["高亮"]
|
||||
let highlightItem = app.menuItems["划线"]
|
||||
guard highlightItem.waitForExistence(timeout: 3) else {
|
||||
throw XCTSkip("高亮菜单项不存在")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user