Better organization for the Hobbes test cases | Community
Skip to main content
FernandoUchiyam
Level 3
Jan 24, 2019 12:48 PM UTC
Solved

Better organization for the Hobbes test cases

Hi guys,

We've been assessing the use of Hobbes.js as the tool to do our UI testing, and we have reached to a problem regarding to the way the testcases are organized.

We are using one Adobe AEM server/instance to host many websites.

The problem is that when we access the main Hobbes.js screen (http://localhost:4502/libs/granite/testing/hobbes.html​ ), we don't have a way to filter or categorize the testcases. We would like to have a way to show only the testcases of a certain website, but all the testcases are getting mixed now.

Also, I can not work in a scenario in which all the tests will be written inside of a single testcase. It will get big and unmanageable very rapidly.

Is it possible to organize by website or to do some kind of filtering of testcases?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Jan 25, 2019 11:43 AM UTC

You could use filter criteria, it works fine -

http://localhost:4502/libs/granite/testing/hobbes.html?filter=granite.testing.hobbes.tests.we-retail  (filtering works on additional category added to clientlibs along with granite.testing.hobbes.tests)

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Jan 25, 2019 11:43 AM UTC

You could use filter criteria, it works fine -

http://localhost:4502/libs/granite/testing/hobbes.html?filter=granite.testing.hobbes.tests.we-retail  (filtering works on additional category added to clientlibs along with granite.testing.hobbes.tests)

Translate