Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No report generated, no debug output, no error output, not sure what to do #1240

Open
aaronbauman opened this issue Oct 8, 2020 · 1 comment

Comments

@aaronbauman
Copy link

I'm having a really hard time getting a vizreg report to run, using a setup that's working just fine elsewhere.

The symptoms are described in title:

  • "reference" completes successfully with no error output
  • "test" completes successfully with no error output
  • "report" generates lots of "compare ERROR" results, but no command error output
  • "debug" option is true, but there is no debug output
  • index does not get created

docker image is backstopjs/backstopjs:latest

I have 72 scenarios, using this config:

let scenariosToTest = [];

for (let [key, value] of Object.entries(pathsToTest)) {
  scenariosToTest.push({
    label: key,
    url: multidevURL + value,
    referenceUrl: devURL + value,
    hideSelectors: [],
    removeSelectors: [".mc-banner", ".mc-modal"],
    selectorExpansion: true,
    selectors: ["document"],
    readyEvent: null,
    delay: 1500,
    misMatchThreshold: 0.1,
  });
}

module.exports = {
  id: "test",
  viewports: [
    {
      name: "phone",
      width: 320,
      height: 480,
    },
    {
      name: "tablet",
      width: 1024,
      height: 768,
    },
    {
      name: "laptop",
      width: 1280,
      height: 850,
    },
    {
      name: "desktop",
      width: 1920,
      height: 1080,
    },
  ],
  scenarios: scenariosToTest,
  paths: {
    bitmaps_reference: "backstop_data/bitmaps_reference",
    bitmaps_test: "backstop_data/bitmaps_test",
    html_report: "backstop_data/html_report",
    ci_report: "backstop_data/ci_report",
  },
  report: ["browser", "CI"],
  engine: "puppeteer",
  engineOptions: {
      args: ["--no-sandbox", "--disable-accelerated-2d-canvas", "--disable-gpu"],
  },
  asyncCaptureLimit: 5,
  asyncCompareLimit: 50,
  debug: true,
  debugWindow: false,
@garris
Copy link
Owner

garris commented Oct 8, 2020

Hi -- I am not sure what problem you are having. Can you please check the docs for Sanity Tests and Feature tests? Please run those commands -- do they work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants