Skip to content

Commit

Permalink
[QOLDEV-312] add more test debugging screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Sep 5, 2023
1 parent db9469d commit 75b7942
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def go_to_new_resource_form(context, name):
context.execute_steps(u"""
When I press "Resources"
And I press "Add new resource"
And I take a debugging screenshot
""")


Expand All @@ -194,13 +195,15 @@ def go_to_dataset_page(context):
def go_to_dataset(context, name):
context.execute_steps(u"""
When I visit "/dataset/{0}"
And I take a debugging screenshot
""".format(name))


@when(u'I go to the first resource in the dataset')
def go_to_first_resource(context):
context.execute_steps(u"""
When I press the element with xpath "//li[@class="resource-item"]/a"
And I take a debugging screenshot
""")


Expand Down

0 comments on commit 75b7942

Please sign in to comment.