hi,
I am currently working on a webpage which is very lengthy. I have split the page to different layout / sections like header, footer and body.
Since the page is lengthy i will have to scroll to ensure that element is visible on the screen.
and then call the spec file.
Below is the footer spec file.
@objects
global_footer css footer[class='cmp-global-footer']
footer_conatainer css *[class='row footer-container']
=global footer=
@on desktop
global_footer:
width 100% of viewport/width
height 60px
aligned vertically all viewport
footer_conatainer:
inside viewport 130 to 140px left
height 60px
centered horizontally inside viewport
@on mobile
global_footer:
width ~ 100 % of viewport/width
height 60px
aligned vertically all viewport
centered horizontally inside viewport 1px
footer_conatainer:
inside viewport 12 to 15px left right
centered horizontally inside viewport 1px
The tests are passing, but the report does not show the footer element screen shot.
Is there a way to scroll and then call the spec file.?
I am currently using galen 2.3.0 java.
<dependency>
<groupId>com.galenframework</groupId>
<artifactId>galen-java-support</artifactId>
<version>2.3.0</version>
</dependency>
Please suggest how to proceed with this.
Thanks and regards,
Karthik