8000 WIP: add E2E test suite unrelated to docs examples by caitp · Pull Request #9557 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

WIP: add E2E test suite unrelated to docs examples #9557

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP: try to run both jquery and non-jquery E2E tests on Travis
  • Loading branch information
caitp committed Oct 20, 2014
commit c9f18d09922b8a9369633ef5543fc68252198cf5
6 changes: 6 additions & 0 deletions scripts/travis/build.sh
8000
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ if [ $JOB = "unit" ]; then
grunt tests:docs --browsers SL_Chrome,SL_Safari,SL_Firefox,SL_IE_9,SL_IE_10,SL_IE_11 --reporters dots
grunt test:travis-protractor-docs --specs "docs/app/e2e/**/*.scenario.js"
elif [ $JOB = "e2e" ]; then
if [ $TEST_TARGET = "jquery" ]; then
export USE_JQUERY=1
fi

grunt test:travis-e2e

export TARGET_SPECS="build/docs/ptore2e/**/default_test.js"
if [ $TEST_TARGET = "jquery" ]; then
TARGET_SPECS="build/docs/ptore2e/**/jquery_test.js"
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/tests/helpers/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ var helper = {
fixture += '/';
}

if (process.env.USE_JQUERY) {
fixture += '?jquery';
}

browser.get('/e2e/fixtures/' + fixture);
return helper;
}
Expand Down
0