Pipelines Angular 6 TEST error: Failed: InvalidStateError: DOM Exception 11

art September 23, 2018
image: node:8.11.4
pipelines:
default:
-
step:
caches: - node
script:
-
yarn
-
./node_modules/@angular/cli/bin/ng test --browsers PhantomJS --watch=false
 + ./node_modules/@angular/cli/bin/ng test --browsers PhantomJS --watch=false23 09 2018 13:41:01.208:INFO [karma]: Karma v2.0.5 server started at http://0.0.0.0:9876/23 09 2018 13:41:01.211:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency23 09 2018 13:41:01.217:INFO [launcher]: Starting browser PhantomJS23 09 2018 13:41:09.067:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket WwGodc4m2--XS19fAAAA with id 82658114PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 1 SUCCESS (0 secs / 0 secs)PhantomJS 2.1.1 (Linux 0.0.0) AppComponent should create the app FAILED Failed: InvalidStateError: DOM Exception 11 stringify@[native code] stringify readableObjectToString resolvePromise resolvePromise invokeTask onInvokeTask onInvokeTask invokeTask onInvokeTask invokeTask onInvokeTask invokeTask runTask drainMicroTaskQueue invokeTask invokeTask globalZoneAwareCallbackPhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 1 (1 FAILED) (0 secs / 1.058 secs)PhantomJS 2.1.1 (Linux 0.0.0) AppComponent should create the app FAILED Failed: InvalidStateError: DOM Exception 11 stringify@[native code] stringify readableObjectToString resolvePromise resolvePromise invokeTask onInvokeTask onInvokeTask invokeTask onInvokeTask invokeTask onInvokeTask invokeTask runTask drainMicroTaskQueue invokeTask invokeTask globalZoneAwareCallbackPhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.056 secs / 1.058 secs)

 Everything working fine in local environment.

1 answer

0 votes
dkeulen October 12, 2018

You don't get these errors when running the tests locally?

That error is related to DOM structure/manipulation errors (html) so far i can find info about it (html code/structure issues/errors).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events