question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On comparing screenshots no any Test-Report get generated and compare comes with "killed"

See original GitHub issue

I am using Backstop on two different places. Where I have same code. On testing locally, there is no any issue. After the “test” I am getting the test_report but here I just do one Test. (For one website with one device e.g Mob). Then same code running on Docker Slaves. Where it tests parallel two websites with three Devices (MOB,TAB,WEB). Not on every build(Test) but on some it don’t generate test result. It do take reference-screenshots and test-screenshots but when it comparing them and then suddenly it shows “kill”. Here stack-trace:

> 09:29:40 [BackstopJS - Website: example, Mode: test, Device: tab] CasperJS:  Current location is https://example.com/kasse/anmelden?forceApp=tab
> 09:29:41 [BackstopJS - Mandantor: example, Mode: test, Device: mob] compare | ERROR { requireSameDimensions: false size: isDifferent, content: 0.00%, threshold: 0.1% }: mob: example.com MBA test_mob_mob_example_MBA_0_document_0_mob_iphone6_plus.png
> 09:29:41 [BackstopJS - Mandantor: example, Mode: test, Device: mob]    See: /root/workspace/job-webtest/bitmaps_test/20170601-092331/failed_diff_test_mob_mob_example_MBA_0_document_0_mob_iphone6_plus.png
> 09:29:42 [BackstopJS - Mandantor: example, Mode: test, Device: mob] Killed

So no any test report is get generated. It can possible that this issue is related to https://github.com/garris/BackstopJS/issues/281 I tested this on Backstop version: 2.3.7 Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mrSingh007commented, Jun 1, 2017

I changed version to 2.4.6. I am not facing this Problem. But Please don’t close this issue. I will do more tests. Thanks

0reactions
garriscommented, Jun 12, 2017

Thanks @khalistan!

Yes, there is a setting which allows you to ignore dimensions. Please check the readme for "requireSameDimensions" : true

Hope that helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Application Testing Complete Guide (How To Test A ...
#4) Verify the spelling and content in all web pages by comparing the content given by the client. #5) In some cases the...
Read more >
Test Insights - BrowserStack
An interactive dashboard that provides actionable insights to help you improve testing efficiency, identify high impact issues or bottlenecks so you can release ......
Read more >
Fact Check-Claim that vaccinated people are six times more ...
Social media posts have claimed that those who have received a COVID-19 vaccine are more six times more likely to die from being...
Read more >
Find a Memory Leak | dotMemory Documentation - JetBrains
Let's assume we want to return some money spent on the Game of Life development and decide ... This will open the Snapshots...
Read more >
Confidence Intervals - SPH - Boston University
Moreover, when two groups are being compared, it is important to establish ... Suppose we want to generate a 95% confidence interval estimate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found