Giter Club home page Giter Club logo

succss's People

Contributors

b2f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

succss's Issues

succss add data.js ERROR

Tryed all versions and beta to. What I'm missing?

Traceback (most recent call last):
  File "/usr/bin/succss", line 88, in <module>
    call(allArgs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

PNG or JPG?

When succss creates ".png" files, it is in fact JPGs!

A file theFile.png command tells: JPEG image data, JFIF standard 1.01

Automatically open the failed diffs

Is it possible to get succss to automatically open the failed images after completing a 'check' run?

On MacOS for example, we'd need to run "open [path/to/diff]" for each failure.

It'd be really helpful, as sometimes when the test run shows a lot of failures, it's quite fiddly having to scrollback through the output and copy/paste the path to each image, so this would really help to save time.

How to run testing on file protocol?

Hi,

I try to test website on local machine by using:

url:'../index.html',

But SUCCSS can not work.
I know BackstopJS and PhantomCSS can do.

Thanks,
Huy Ly.

Specify URL via command line

I'd like to be able to specify/override the URL for a given page configuration at runtime.

I am writing Behat tests for a Drupal site. Each time I create a new content type, I'll write a behat test that creates a new node and populates it with known data. I want to visually regression test changes to the layout of that example node.

I can't re-use the same URL, because the node is created by Behat and destroyed at the end of each test session, so although the content and layout will be the same each run, the URL will be different.

Would it be possible to support this?

Windows 7 Error

Run succss in command line
Return:

Traceback (most recent call last):
  File "C:\Users\Oleg\AppData\Roaming\npm\\node_modules\succss\bin\succss.py", line 25, in <module> call(requiredArgs)
  File "c:\Program Files\Python 2.7\Lib\subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait()
  File "c:\Program Files\Python 2.7\Lib\subprocess.py", line 710, in __init__errread, errwrite)
  File "c:\Program Files\Python 2.7\Lib\subprocess.py", line 958, in _execute_child startupinfo)
WindowsError: [Error 2]

How to solve a problem?

Struggling to get up and running

I've just installed succss via npm -g succss and get the following errors:

$ succss

yields:

raceback (most recent call last):
  File "/usr/local/bin/succss", line 88, in <module>
    call(allArgs)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
$ succss add test.js

yields:

Traceback (most recent call last):
  File "/usr/local/bin/succss", line 88, in <module>
    call(allArgs)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I was however able to clone this repository and run the test successfully

Need to run "before" function before "waitForSelector"

Hi,

I want to click on button, and the page load ajax to show a popup.
So the selector will "was not found anywhere on the page".

I need to run "before" function first, to simulate click on the button first and after then call "waitForSelector".

casperInstance.waitForSelector(captureState.selector, function() {

        // Processing before capture callbacks:
        if (captureState.before) {
          // Siblings are before functions made available in other before functions,
          // see http://succss.ifzenelse.net/configuration#before.
          var siblings = {};
          var pageCaptures = data[captureState.page.name].captures;
          for (var c in pageCaptures) {
            if (c != captureState.name && pageCaptures[c].before) {
              siblings[c] = pageCaptures[c].before.bind(casperInstance, siblings);
            }
          }
          captureState.before.call(casperInstance, siblings);
        }
      }, function() {
        self.echo('Selector "' + captureState.selector + '" was not found anywhere on the page.', 'ERROR');
      });

Can you help me to build this script? Please I don't know how to do that.

Thank you,
Huy Ly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.