GithubHelp home page GithubHelp logo

Comments (18)

antonybudianto avatar antonybudianto commented on July 19, 2024 1

do you use the latest starter?
can you give me some repo for reproduce?
well, I don't think this is starter issue, but more like third party issue

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024 1

please post this to https://stackoverflow.com too because it's more appropriate to post it there than here, unless something wrong with the starter

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

Is it working without socket.io ?

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

Yes

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

Maybe related to port ?

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

Also I need the error traces

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

Connect:
this.socket = io.connect('http://sellers.site.com');

When you run the e2e-test no errors.
Just the browser "hangs" in 30 seconds and drop tests with the message:

gulp e2e
...
[09:41:20] Starting 'driver-update'...
[09:41:20] Starting 'clean-ts-test'...
[09:41:20] Finished 'clean-ts-test' after 15 ms
[09:41:20] Starting 'tsc-e2e'...
selenium standalone is up to date.
chromedriver is up to date.
[09:41:20] Finished 'driver-update' after 328 ms
[09:41:22] Finished 'tsc-e2e' after 2.69 s
[09:41:22] Starting 'e2e-test'...
[09:41:22] Finished 'e2e-test' after 1.35 ms
[09:41:22] Starting 'e2e'...
[09:41:22] Finished 'e2e' after 6.29 μs
[09:41:23] I/local - Starting selenium standalone server...
[09:41:23] I/launcher - Running 1 instances of WebDriver
[09:41:24] I/local - Selenium standalone server started at http://10.5.1.53:4390
4/wd/hub
Started
FF

Failures:

  1. Dashboard Home page should have title
    Message:
    Failed: Timed out waiting for Protractor to synchronize with the page after
    30 seconds. Please see https://github.com/angular/protractor/blob/master/docs/fa
    q.md
    Stack:
    Error: Failed: Timed out waiting for Protractor to synchronize with the page
    after 30 seconds. Please see https://github.com/angular/protractor/blob/master/
    docs/faq.md
    at C:\OpenServer\domains\saveren-fe-new\fe\src\sellers\node_modules\gulp
    -protractor\node_modules\protractor\node_modules\jasminewd2\index.js:101:16
    at Promise.invokeCallback_ (C:\OpenServer\domains\saveren-fe-new\fe\src
    sellers\node_modules\gulp-protractor\node_modules\protractor\node_modules\seleni
    um-webdriver\lib\promise.js:1329:14)
    at TaskQueue.execute_ (C:\OpenServer\domains\saveren-fe-new\fe\src\selle
    rs\node_modules\gulp-protractor\node_modules\protractor\node_modules\selenium-we
    bdriver\lib\promise.js:2790:14)
    at TaskQueue.executeNext_ (C:\OpenServer\domains\saveren-fe-new\fe\src\s
    ellers\node_modules\gulp-protractor\node_modules\protractor\node_modules\seleniu
    m-webdriver\lib\promise.js:2773:21)

  2. Dashboard Home page should have image
    Message:
    Failed: Cannot assign to read only property 'stack' of Timed out waiting for
    Protractor to synchronize with the page after 30 seconds. Please see https://gi
    thub.com/angular/protractor/blob/master/docs/faq.md
    While waiting for element with locator - Locator: By(css selector, img)
    Stack:
    TypeError: Cannot assign to read only property 'stack' of Timed out waiting
    for Protractor to synchronize with the page after 30 seconds. Please see https:/
    /github.com/angular/protractor/blob/master/docs/faq.md
    While waiting for element with locator - Locator: By(css selector, img)
    at C:\OpenServer\domains\saveren-fe-new\fe\src\sellers\node_modules\gulp
    -protractor\node_modules\protractor\built\element.js:377:21
    at Promise.invokeCallback_ (C:\OpenServer\domains\saveren-fe-new\fe\src
    sellers\node_modules\gulp-protractor\node_modules\protractor\node_modules\seleni
    um-webdriver\lib\promise.js:1329:14)
    at TaskQueue.execute_ (C:\OpenServer\domains\saveren-fe-new\fe\src\selle
    rs\node_modules\gulp-protractor\node_modules\protractor\node_modules\selenium-we
    bdriver\lib\promise.js:2790:14)
    at TaskQueue.executeNext_ (C:\OpenServer\domains\saveren-fe-new\fe\src\s
    ellers\node_modules\gulp-protractor\node_modules\protractor\node_modules\seleniu
    m-webdriver\lib\promise.js:2773:21)
    at C:\OpenServer\domains\saveren-fe-new\fe\src\sellers\node_modules\gulp
    -protractor\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.
    js:2652:27
    at C:\OpenServer\domains\saveren-fe-new\fe\src\sellers\node_modules\gulp
    -protractor\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.
    js:639:7
    at process._tickCallback (node.js:369:9)
    From: Task: Run it("should have image") in control flow
    at Object. (C:\OpenServer\domains\saveren-fe-new\fe\src\selle
    rs\node_modules\gulp-protractor\node_modules\protractor\node_modules\jasminewd2
    index.js:81:14)
    From asynchronous test:
    Error
    at Suite. (C:\openserver\domains\saveren-fe-new\fe\src\seller
    s\src\tmp\test\e2e\dashboard-home\test\e2e\dashboard-home\dashboard-home.spec.ts
    :12:5)
    at Object. (C:\openserver\domains\saveren-fe-new\fe\src\selle
    rs\src\tmp\test\e2e\dashboard-home\test\e2e\dashboard-home\dashboard-home.spec.t
    s:1:1)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)

2 specs, 2 failures
Finished in 67.866 seconds
[09:42:34] I/local - Shutting down selenium standalone server.
[09:42:34] I/launcher - 0 instance(s) of WebDriver still running
[09:42:34] I/launcher - chrome #1 failed 2 test(s)
[09:42:34] I/launcher - overall: 2 failed spec(s)
[09:42:34] E/launcher - Process exited with error code 1
Error running E2E testing

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

No, this is "Angular 2 Starter RC 2".
But now I will make the transition to the latest version.

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

Soon I will give a link to the repository. And then will place a question on Stack

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

Thank you

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

@antonybudianto https://bitbucket.org/drimsoftware/angular2-socket.io
This repo use mercurial (not git).
For download project: https://bitbucket.org/drimsoftware/angular2-socket.io/downloads
npm i
gulp & gulp e2e
What do you think about this?
Thanks for your answers!

I know that this is not as for angular 2-starter. But perhaps you can tell because of what this could be? Why e2e tests do not work with socket.io?

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

sorry cannot help much. looks like your repo had been modified much, no typings and all.
when I tried to run gulp, I got typings error

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

Sorry. One moment.
Upd: I Fix typings.

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

Looks like it's not starter issue

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

Likely.
Do you have reproduced the problem?

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

I can't because of typings missing

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

The best would be on stackoverflow

from angular-starter.

DarkDrim avatar DarkDrim commented on July 19, 2024

I fix the typings.
Okay, i will write on stackoverflow

from angular-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.