cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get web storefront integration tests appear in Hybris test console?

Former Member
1,840

We have few integration tests written in our storefront extension (under /web/testsrc). We can run them by command line (by specifying the web=true in a custom ant target). However, those tests do not appear in Hybris test console. We tried to debug it a bit and it appears that somewhere down the line a service with similar property web=true needs to be called (default value is false). But we do not know how to do that? Has anyone done that before? Or any other suggestions / workaround to show them in test console so that they can be run from there.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hello gitesh.grover and anurag.sharma1, I am facing the same need.
Via console I am able to run the IntegrationTests for @Controller-Classes.

ant test -Dtestclasses.packages="package.controllers.pages.checkout.*" -Dtestclasses.web=true  
I've also tried to add testclasses.web=true to the local.properties that didn't worked.

I am targeting to run the Tests in the testweb-ui.
anuragsharma656
Discoverer
0 Kudos

Hey Gitesh, did you find a way to do it? I also have the same issue. And it is much easier to execute test via test console.

Former Member
0 Kudos

Did you try with -Dtestclasses.web=true ?

Former Member
0 Kudos

Running as ant target from command line is not an issue. But we want to use the Hybris web test console (:9002/test). The problem is the web integration tests do not appear there.