feat: improve epub reader controls and annotations
This commit is contained in:
@@ -22,7 +22,7 @@ final class ReaderAnnotationTests: XCTestCase {
|
||||
|
||||
app.waitForDemoReaderState(timeout: 5, description: "selection=1") { $0.selection == 1 }
|
||||
|
||||
let highlightMenuItem = app.menuItems["高亮"]
|
||||
let highlightMenuItem = app.menuItems["划线"]
|
||||
let highlightButton = app.buttons[IDs.readerSelectionHighlight]
|
||||
if highlightMenuItem.waitForExistence(timeout: 3) {
|
||||
highlightMenuItem.tap()
|
||||
@@ -65,7 +65,7 @@ final class ReaderAnnotationTests: XCTestCase {
|
||||
|
||||
app.waitForDemoReaderState(timeout: 5, description: "selection=1") { $0.selection == 1 }
|
||||
|
||||
let annotateMenuItem = app.menuItems["批注"]
|
||||
let annotateMenuItem = app.menuItems["注释"]
|
||||
XCTAssertTrue(annotateMenuItem.waitForExistence(timeout: 3), "选中文本后未出现批注菜单")
|
||||
annotateMenuItem.tap()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user