I have had few issues with debugging Galen specification file and JavaScript code. I'd appreciate if you can respond on the following questions -
For my following code in .gspec file, if syntax is incorrect for pageHeader (see two dots), galen does not throw an explicit error if no DOM was found. Can I turn on explicit checking and logging of errors?
`
@objects
pageHeader css h1..pageHeader
= Main section =
@on desktop
pageHeader:
width ~ 98 % of screen/width
css margin-top is "20px"
`
How can I debug Galen test.js files in Node? I don't want to spend time debugging from the console messages logged.
If I run a visibility test using isVisible() function on hidden DOM elements, then I see failed status on the test report saying the test failed since the element was hidden. Now do I need to implement custom rules to bypass this rule?
Hello,
I have had few issues with debugging Galen specification file and JavaScript code. I'd appreciate if you can respond on the following questions -
` @objects pageHeader css h1..pageHeader
= Main section = @on desktop pageHeader: width ~ 98 % of screen/width css margin-top is "20px" `
How can I debug Galen test.js files in Node? I don't want to spend time debugging from the console messages logged.
If I run a visibility test using isVisible() function on hidden DOM elements, then I see failed status on the test report saying the test failed since the element was hidden. Now do I need to implement custom rules to bypass this rule?