Skip to content

Configfile for div container and ids #28

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

Open
toddy opened this issue Apr 22, 2014 · 1 comment
Open

Configfile for div container and ids #28

toddy opened this issue Apr 22, 2014 · 1 comment

Comments

@toddy
Copy link
Collaborator

toddy commented Apr 22, 2014

When you only use the visualception modul for your tests and not tests from the codeception framework you have a lot of

$I->dontSeeVisualChanges('id', '#something');

After writing it the tenth time you ask for a configfile of ids and div container in a file you could read in.

I thing for some reasons it is easier to handle a configfile than write the dontSeeVisualChanges.

@phmLabs
Copy link
Collaborator

phmLabs commented Apr 22, 2014

Any ideas for the syntax?

$I->dontSeeVisualChangesByFile($configFileName);

$I->dontSeeVisualChangesByArray($array);

$I->dontSeeVisualChanges("Startpage");

VisualChange::dontSeeVisualChanges( $configFile, $I );

What would a config file look like?

Startpage:
  header: "#header"
  footer: "#footer"
  sub-navigation: ".subnav"

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