Skip to content

Initial e2e tests fail #836

@theRemix

Description

@theRemix
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions