data-sly-test (Sightly)
Hi,
Can we test global variables declared in javascript inside HTML with the help of data-sly-test command?
I have set a var xtest = false inside javascript and have used following statement inside HTML: <div data-sly-test.abcvar = "${xtest}">hello</div>.
But hello text is displayed in all scenario. How do i test a global variable inside HTML with the help of sightly?
Thanks,
Nikunj