mirror of
https://github.com/koreader/koreader
synced 2024-11-18 03:25:46 +00:00
readerhighlight_spec: add #nocov to some highlight tests (#10559)
The problem stems from <https://github.com/koreader/koreader/pull/10492> but we need the translations to go through.
This commit is contained in:
parent
3eee5dd14c
commit
f7d633cc3d
@ -154,7 +154,7 @@ describe("Readerhighlight module", function()
|
||||
after_each(function()
|
||||
readerui.highlight:clear()
|
||||
end)
|
||||
it("should response on tap gesture", function()
|
||||
it("should response on tap gesture #nocov", function()
|
||||
tap_highlight_text(readerui,
|
||||
Geom:new{ x = 260, y = 70 },
|
||||
Geom:new{ x = 260, y = 150 },
|
||||
@ -179,7 +179,7 @@ describe("Readerhighlight module", function()
|
||||
after_each(function()
|
||||
readerui.highlight:clear()
|
||||
end)
|
||||
it("should respond to tap gesture", function()
|
||||
it("should respond to tap gesture #nocov", function()
|
||||
tap_highlight_text(readerui, Geom:new{ x = 260, y = 70 }, Geom:new{ x = 260, y = 150 }, Geom:new{ x = 280, y = 110 })
|
||||
Screen:shot("screenshots/reader_tap_highlight_text_pdf_scanned.png")
|
||||
end)
|
||||
@ -206,7 +206,7 @@ describe("Readerhighlight module", function()
|
||||
-- We haven't torn it down yet
|
||||
ReaderUI.instance = readerui
|
||||
end)
|
||||
it("should response on tap gesture", function()
|
||||
it("should response on tap gesture #nocov", function()
|
||||
tap_highlight_text(readerui, Geom:new{ x = 260, y = 70 }, Geom:new{ x = 260, y = 150 }, Geom:new{ x = 280, y = 110 })
|
||||
Screen:shot("screenshots/reader_tap_highlight_text_pdf_reflowed.png")
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user