Skip to content

2.11.0

Compare
Choose a tag to compare
@greyarch greyarch released this 25 May 12:12
· 4 commits to master since this release

Allow prefixing of object names when adding them.

Let's say in your objects file (my-objects.js) you have an object defined like this

...
coolObj: css("input.thing")
...

In your config file, you'd do

testx.objects.add(require("my-objects"), "somePrefix.")

and in the tests, you can use it like this

- set:
    somePrefix.coolObj: "some text"