Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial e2e tests fail #836

Closed
theRemix opened this issue Aug 5, 2016 · 0 comments · Fixed by #837
Closed

Initial e2e tests fail #836

theRemix opened this issue Aug 5, 2016 · 0 comments · Fixed by #837

Comments

@theRemix
Copy link
Contributor

theRemix commented Aug 5, 2016

  • I'm submitting a ...
    [✔️] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
  • What is the current behavior?
    e2e test fails
  • Steps to reproduce
git clone angular2-webpack-starter.git
cd angular2-webpack-starter
npm i
npm start # in one terminal
npm run e2e # in second terminal

actual output

[05:48:36] I/direct - Using ChromeDriver directly...
[05:48:36] I/launcher - Running 1 instances of WebDriver
Started
...F..

Failures:
1) App should have buttons
  Message:
    Expected 'Submit Value' to equal 'Index'.
  Stack:
    Error: Failed expectation
        at Object.<anonymous> (../../src/app/app.e2e.ts:29:21)
        at ...stack trace

6 specs, 1 failure
Finished in 4.061 seconds
[05:48:43] I/launcher - 0 instance(s) of WebDriver still running
[05:48:43] I/launcher - chrome #01 failed 1 test(s)
[05:48:43] I/launcher - overall: 1 failed spec(s)
[05:48:43] E/launcher - Process exited with error code 1
  • What is the expected behavior?
[05:52:19] I/direct - Using ChromeDriver directly...
[05:52:19] I/launcher - Running 1 instances of WebDriver
Started
......

6 specs, 0 failures
Finished in 4.104 seconds
[05:52:26] I/launcher - 0 instance(s) of WebDriver still running
[05:52:26] I/launcher - chrome #01 passed
  • What is the motivation / use case for changing the behavior?
    make initial tests pass, cause shouldn't it?
  • Please tell us about your environment:
  • Angular version: 2.0.0-rc.4
  • Browser: Chrome 51.0.2704.103 (64-bit)
theRemix added a commit to theRemix/angular2-webpack-starter that referenced this issue Aug 5, 2016
PatrickJS pushed a commit that referenced this issue Aug 7, 2016
* fixes initial e2e tests

resolves #836

* Test/fix travis xvfb (#2)

* add beforescript for travisci to resolve chrome issue with xvfb

* travis.yml before_script typo

* travisci use chromium-browser

* add Chrome_travis_ci browser to karma conf
awcodify pushed a commit to awcodify/d3-angular-4 that referenced this issue Aug 28, 2017
* fixes initial e2e tests

resolves PatrickJS#836

* Test/fix travis xvfb (PatrickJS#2)

* add beforescript for travisci to resolve chrome issue with xvfb

* travis.yml before_script typo

* travisci use chromium-browser

* add Chrome_travis_ci browser to karma conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant