My screenshots never pass?

83 views
Skip to first unread message

James Cicenia

unread,
Jul 13, 2014, 12:40:05 PM7/13/14
to zucchini...@googlegroups.com
In the log, there is a second screen shot with 0,0,0,0. What is that?

2014-07-13 16:34:37 +0000 Default: Found anchor for screen 'Welcome'

2014-07-13 16:34:40 +0000 Default: Screenshot of screen 'welcome' taken with orientation 'Portrait'

2014-07-13 16:34:40 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:0.00}, size:{height:1024.00,width:768.00}}", "01_welcome_first_boot")

2014-07-13 16:34:41 +0000 Screenshot captured.

2014-07-13 16:34:41 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:0.00}, size:{height:0.00,width:0.00}}", "01_welcome_first_boot")

2014-07-13 16:34:41 +0000 Screenshot captured.


Help please
Screens.png

James Cicenia

unread,
Jul 13, 2014, 9:22:41 PM7/13/14
to zucchini...@googlegroups.com
I even ran the demo and it too failed... with the same kind of images... both exact, the difference being the washed out one.


PLEASE HELP, I need to get tests working

James Cicenia

unread,
Jul 14, 2014, 8:48:27 AM7/14/14
to zucchini...@googlegroups.com
Anyone? Someone? Please Help today

Thomas PAQUETEAU

unread,
Jul 21, 2014, 9:21:53 AM7/21/14
to zucchini...@googlegroups.com
Hi,
I have exactly the same problem on my project (I didn't try the demo project). Maybe the problem depends of the version of ImageMagik used (I have : ImageMagick 6.8.9-1 Q16 x86_64 2014-05-12) ?!
Here my logs :

2014-07-21 13:08:16 +0000 Default: Found anchor for screen 'Welcome'

2014-07-21 13:08:16 +0000 Default: Screenshot of screen 'welcome' taken with orientation 'Portrait'

2014-07-21 13:08:16 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", "01_welcome_first_boot")

2014-07-21 13:08:16 +0000 Screenshot captured.

2014-07-21 13:08:16 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:0.00}, size:{height:0.00,width:0.00}}", "01_welcome_first_boot")

2014-07-21 13:08:16 +0000 Screenshot captured.

2014-07-21 13:08:18 +0000 Debug: target.frontMostApp().mainWindow().navigationBar().buttons()["navbar search default"].tap()

Instruments Trace Complete (Duration : 12.821044s; Output : /Users/thomas.paqueteau/iOS/buyerapp_ios/instrumentscli0.trace)

convert: iCCP: known incorrect sRGB profile `/Users/thomas.paqueteau/iOS/buyerapp_ios/features/feature/run_data/Run 1/01_welcome_first_boot.png' @ warning/png.c/MagickPNGWarningHandler/1832.

convert: iCCP: known incorrect sRGB profile `/Users/thomas.paqueteau/iOS/buyerapp_ios/features/feature/run_data/Run 1/../../reference/retina_ios6/01_welcome_first_boot.png' @ warning/png.c/MagickPNGWarningHandler/1832


Do you have the same warning for the convert command ?


If you have find the solution please tell me. I will continue to investigate ...

Tony Mann

unread,
Jul 27, 2014, 6:39:35 AM7/27/14
to zucchini...@googlegroups.com
This is almost certainly related to ImageMagick. What version are you using?

Tony

--
You received this message because you are subscribed to the Google Groups "Zucchini Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zucchini-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thomas PAQUETEAU

unread,
Jul 27, 2014, 9:11:20 AM7/27/14
to zucchini...@googlegroups.com
Hi Tony,
My version of imagemagik is 6.8.9-1.
I saw that there is a version 7 I will try to install it.
Which version are you using ?

Thomas

James Cicenia

unread,
Jul 28, 2014, 1:06:51 PM7/28/14
to zucchini...@googlegroups.com
me too: 6.8.9-1

Tony Mann

unread,
Jul 29, 2014, 4:24:44 PM7/29/14
to zucchini...@googlegroups.com
This is a recent version of ImageMagick that should be supported. Are you using the latest version of zucchini (that includes this fix)?

Tony

Bartłomiej Pisulak

unread,
Aug 4, 2014, 3:28:16 AM8/4/14
to zucchini...@googlegroups.com
Hi guys,

I've just started to use Zucchini and I get the same problem as described in this discussion - diff image looks more-or-less thaw same as on the picture in the first post. I'm trying to test CoreDataBooks project.
My version of Zucchini is 0.7.3 and Imagemagick 6.8.8-9. I've also tried 6.8.7-7 and 6.7.7-6 with no luck so far.

Cheers,
Bartek

Bartłomiej Pisulak

unread,
Aug 6, 2014, 4:52:52 AM8/6/14
to zucchini...@googlegroups.com
Ok, it seems that after downgrading imagemagick to 6.7.7-6 it works fine - I didn't test it properly previously.

Thomas PAQUETEAU

unread,
Aug 11, 2014, 12:59:54 PM8/11/14
to zucchini...@googlegroups.com
Hi,
It works for me too after downgrading imagemagick to 6.8.6-3.
Thanks a lot for your help,

Thomas  
Reply all
Reply to author
Forward
0 new messages