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.
reviewable/pr10570/r1
Frans de Jonge 11 months ago committed by GitHub
parent 3eee5dd14c
commit f7d633cc3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save