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

chore(tests): e2e tests #142

Merged
merged 1 commit into from
Nov 28, 2016
Merged

chore(tests): e2e tests #142

merged 1 commit into from
Nov 28, 2016

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Nov 10, 2016

Travis only runs a subset of tests via npm run test_travis, but npm test runs a full suite.
See #165 for details on why travis cannot run all tests.

@sjelin sjelin force-pushed the e2e_tests branch 2 times, most recently from e1fcb4f to 0537a9e Compare November 10, 2016 18:42
@sjelin sjelin changed the title chore(tests): e2e tests (WIP) chore(tests): e2e tests Nov 10, 2016
@sjelin
Copy link
Contributor Author

sjelin commented Nov 10, 2016

tavis failing 🙁

@sjelin sjelin force-pushed the e2e_tests branch 7 times, most recently from 33edb73 to c94a522 Compare November 10, 2016 23:20
@sjelin sjelin force-pushed the e2e_tests branch 10 times, most recently from f2526b1 to c06d9f3 Compare November 24, 2016 09:48
@sjelin sjelin changed the title (WIP) chore(tests): e2e tests (WIP) e2e tests Nov 24, 2016
@sjelin sjelin force-pushed the e2e_tests branch 4 times, most recently from 7aaa7bb to 8fa2626 Compare November 24, 2016 18:56
@sjelin sjelin force-pushed the e2e_tests branch 8 times, most recently from 3e1c691 to 73c27e8 Compare November 25, 2016 00:35
@sjelin sjelin changed the title (WIP) e2e tests chore(tests): e2e tests Nov 25, 2016
@sjelin
Copy link
Contributor Author

sjelin commented Nov 25, 2016

I only ended up being able to support a subset of tests on travis, but this should be good to go once we merge in #162

@sjelin
Copy link
Contributor Author

sjelin commented Nov 28, 2016

Unblocked! This is ready to review, but we should still merge #161 first though

});
gulp.task('start', ['build', 'shutdown'], function(done) {
Copy link
Contributor

@heathkit heathkit Nov 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, Craig and I have talked about moving away from gulp to just shell scripts. That's similar to what Angular does for their CI. I think it's a bit easier to maintain, when all you're doing is spawning a bunch of processes in sequence.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave the transition to Craig. But I do agree.


gulp.task('test', ['format', 'test:unit', 'test:e2e']);
gulp.task('test:no_update', ['format', 'test:unit', 'test:e2e:no_update']);
gulp.task('test:no_screen', ['format', 'test:unit', 'test:e2e:no_screen']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 'headless' is the more common term for this kind of thing than 'no_screen', but it's up to you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 much better name

@heathkit
Copy link
Contributor

lgtm! Just some optional suggestions

Travis only runs a subset of tests via `npm run test_travis`, but `npm test` runs a full suite.
See angular#165 for details on why travis cannot run
all tests.
@sjelin sjelin merged commit 7166ddb into angular:master Nov 28, 2016
@sjelin sjelin deleted the e2e_tests branch November 28, 2016 22:56
sjelin added a commit to sjelin/webdriver-manager that referenced this pull request Dec 16, 2016
Travis only runs a subset of tests via `npm run test_travis`, but `npm test` runs a full suite.
See angular#165 for details on why travis cannot run
all tests.
sjelin added a commit to sjelin/webdriver-manager that referenced this pull request Dec 20, 2016
Travis only runs a subset of tests via `npm run test_travis`, but `npm test` runs a full suite.
See angular#165 for details on why travis cannot run
all tests.
sjelin added a commit to sjelin/webdriver-manager that referenced this pull request Dec 20, 2016
Travis only runs a subset of tests via `npm run test_travis`, but `npm test` runs a full suite.
See angular#165 for details on why travis cannot run
all tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants