Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

UI Tests with Hobbes and Integration with Jenkins

Avatar

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
FernandoUchiyam
Level 2

03-10-2018

Hello guys,

We want to starting writing UI tests for our Adobe AEM site. We are considering Hobbes, but also Selenium. We want to be able to run the tests with Jenkins or similar tool.

The idea is to run the tests right after a developer commits something to GIT. We know that it is possible with Selenium.

Is it possible with Hobbes too?

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

03-10-2018

See this AEM Doc topic - it may help guide you with testing: Testing Your UI

Here is a related GEMS session too -- Adobe Experience Manager Help | Tools to use for testing Adobe Experience Manager applications

Avatar

Avatar
Validate 1
Level 3
Lavanya_Malyala
Level 3

Likes

20 likes

Total Posts

29 posts

Correct Reply

9 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 3
Lavanya_Malyala
Level 3

Likes

20 likes

Total Posts

29 posts

Correct Reply

9 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Lavanya_Malyala
Level 3

03-10-2018

Hi,

Additionally to what Scott has mentioned, you can also refer to the articles below:

Testing Your UI

What's New in AEM 6.2

Front End Testing with Hobbes.js - Perficient Blogs

http://keysandstrokes.info/aem-automating-front-end-testing-using-hobbes/

NOTE: Refer "Main Advantages and key concepts" section of What's New in AEM 6.2

It says that it's easily integrable in continuous integration environment (i.e. Jenkins) as test outputs are regular jUnit.xml report files.

Regards,

Lavanya Malyala

Avatar

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
FernandoUchiyam
Level 2

03-10-2018

Thank you guys,

Good to know that it is possible to integrate Hobbes with Jenkins.

But I couldn't find any examples.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,168 likes

Total Posts

6,294 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,168 likes

Total Posts

6,294 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

04-10-2018

Avatar

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
FernandoUchiyam
Level 2

04-10-2018

Hi,

Can you provide an installation & command execution example?

I tested installing it with either:
- npm install -g hobbes-runner
- npm install hobbes-runner

But couldn't execute it running any of the following commands:


- hobbes-runner
- npm run hobbes-runner
- npm run ./node_modules/.bin/hobbes-runner
- ./node_modules/.bin/hobbes-runner

Am I doing anything wrong?