2
0
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:
Frans de Jonge 2023-06-09 22:14:41 +02:00 committed by GitHub
parent 3eee5dd14c
commit f7d633cc3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)