1

I created a JakartaEE Server Faces sample which used Arqillian Dron and Arquillian Graphene to test the faces web pages.

The tests are passed on my local system, but when set the headless chrome as web driver in Github action workflow like this(see the complete file here, by default it use phantomjs webdriver):


    - name: Run integration test with -Parq-payara-embedded(chromeheadless)
      run: mvn clean verify -Parq-payara-embedded,chromeheadless

It is frozen at this step.

But I ran the same command(mvn clean verify -Parq-payara-embedded,chromeheadless) in my local system, it works. How to make the chromeheadless work on Github actions?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Hantsy
  • 8,006
  • 7
  • 64
  • 109
  • 1
    So if you try to test a plain html or jsp instead of a jsf page, it works? – Kukeltje Feb 06 '20 at 09:30
  • @Kukeltje It works on local dev env. I think it is an env related problem. I've searched the official Github actions, but did not found how to set `chromeheadless` for my test env in Github actions CI workflow file. – Hantsy Feb 07 '20 at 04:47

0 Answers0