Running angular e2e tests on google cloud build with Google Oauth2

I’m trying to perform e2e tests on google-cloud-build using angular 7 and protractor, but got errors.

I’ve created a docker image with all of tools that I need to perform it including Google Chrome in the latest version.
Everything works fine in this environment except when I tried to do the login, because when i’m trying it using google oauth I got the follow error.

ng e2e --configuration=qa

I expect just login in google account, as today, outside docker environment.

Google Oauth Error Image

Source: StackOverflow