b2f / succss Goto Github PK
View Code? Open in Web Editor NEWA CSS regression testing tool.
Home Page: http://succss.ifzenelse.net
License: MIT License
A CSS regression testing tool.
Home Page: http://succss.ifzenelse.net
License: MIT License
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
When succss creates ".png" files, it is in fact JPGs!
A file theFile.png
command tells: JPEG image data, JFIF standard 1.01
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.
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.
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?
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?
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
The command line should return a non 0 value if check fails.
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.
Hi @B2F,
I'm writing login case for CasperJS. Something like that: http://stackoverflow.com/questions/13492821/phantomjs-casperjs-site-login-cookies-are-not-accepted-by-phantomjs
But I dont know how to build SUCCSS and install again to test it.
Please help me.
Thanks,
Huy Ly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.