Wojciech Kapcia opened 4 years ago
|
|
@bmalkow do we need to install this specific node version? It seems to fail on my machine as well:
And I have newer node:
Where is this version configured? |
|
|
|
@bmalkow I tried removing the directory (locally) and it still fails for me:
It looks like for some reason launching ChromeHeadless failed for some reason (?!). Could you run on your end this exact command (i.e. building and
|
|
Compilation report attached. |
|
@bmalkow while checking #issue #24 I got interesting error:
So now I have simple question: do you have Chrome installed on your machine? I think that it fails for me and TeamCity because Chrome is missing. Should we install some "headless browser" maybe? Or is it even possible to run the test in a headless environment? EDIT: from your logs:
It fails for me. |
|
I have Chrome installed. If it should be well tested, then some headless browser should be installed. The other solution is run only jam tests. |
|
OK. I just checked Agen't machine and it does have Chrome (or at least it seems it does): https://github.com/tigase/devops-teamcity-agent/blob/master/dockerimg/Dockerfile#L54… |
|
@bmalkow - is it possible to configure gradle so test failure wouldn't mark whole build as failed (see testFailureIgnore from surefire). It would seem the best option. Alternatively - is it possible to somwhow pass configuration from commandline? You can disable karma tests with:
I was thinking using something like I went back to this task as it kind prevents publishing maven artifacts from #issue #25. |
|
Addendum, I tried running the project with
Gradle is truly remarkable... |
|
I skipped browser tests in TC build configuration. |
|
Great! Thank you. Passing build with tests: https://tc.tigase.net/buildConfiguration/Halcyon_BuildArtur/67517 Relevant configuration:
|
Type |
Task
|
Priority |
Normal
|
Assignee | |
Spent time |
4h 15m
|
https://tc.tigase.net/buildConfiguration/Halcyon_BuildArtur/58853