Comments (18)
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.
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.
Is it working without socket.io ?
from angular-starter.
Yes
from angular-starter.
Maybe related to port ?
from angular-starter.
Also I need the error traces
from angular-starter.
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
FFFailures:
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)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.
No, this is "Angular 2 Starter RC 2".
But now I will make the transition to the latest version.
from angular-starter.
Soon I will give a link to the repository. And then will place a question on Stack
from angular-starter.
Thank you
from angular-starter.
@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.
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.
Sorry. One moment.
Upd: I Fix typings.
from angular-starter.
Looks like it's not starter issue
from angular-starter.
Likely.
Do you have reproduced the problem?
from angular-starter.
I can't because of typings missing
from angular-starter.
The best would be on stackoverflow
from angular-starter.
I fix the typings.
Okay, i will write on stackoverflow
from angular-starter.
Related Issues (20)
- problem between npm start and npm run build on style sheet HOT 2
- remove Todolist module HOT 2
- import { filter } from 'lodash'; HOT 2
- materialize (question) HOT 2
- npm run build no long deployes properly HOT 1
- npm run build is broken HOT 1
- Problem with report generation HOT 3
- No file change on the screen, despite recompile (RaydonZhu comment) HOT 7
- Serving from the root folder HOT 6
- Move the src folder contents HOT 2
- Update to typescript 2.1?
- where is tree shaking config? HOT 1
- lodash Partial - too old Typescript used HOT 1
- does it support lazy loading? HOT 1
- Lazy loading HOT 1
- Can't start freshly cloned project. HOT 4
- Debug TS files not working in Chrome HOT 2
- How do I switch this project to support universial HOT 1
- Will it work with Visual Studio . I tried but facing some unexpected token errors while loading files HOT 6
- Upgrade to Angular 5 causing remap-istanbul html report generation to fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-starter.