Skip to content

Commit 36b1747

Browse files
committed
fix(tests): increase timeouts for e2e tests
1 parent 0d50802 commit 36b1747

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/e2e/e2e_workflow.spec.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Basic end-to-end Workflow', function () {
3838
});
3939

4040
it('Can create new project using `ng new test-project`', function() {
41-
this.timeout(300000);
41+
this.timeout(420000);
4242

4343
return ng([
4444
'new',
@@ -50,14 +50,14 @@ describe('Basic end-to-end Workflow', function () {
5050
});
5151

5252
it('Can change current working directory to `test-project`', function() {
53-
this.timeout(300000);
53+
this.timeout(420000);
5454
process.chdir(path.join(root, 'test-project'));
5555
sh.exec('npm link angular-cli', {silent: true});
5656
expect(path.basename(process.cwd())).to.equal('test-project');
5757
});
5858

5959
it('Can run `ng build` in created project', function() {
60-
this.timeout(10000);
60+
this.timeout(420000);
6161

6262
return ng([
6363
'build',
@@ -68,7 +68,7 @@ describe('Basic end-to-end Workflow', function () {
6868
});
6969

7070
it('Perform `ng test` after initial build', function() {
71-
this.timeout(300000);
71+
this.timeout(420000);
7272

7373
return ng(testArgs)
7474
.then(function(result) {
@@ -92,7 +92,7 @@ describe('Basic end-to-end Workflow', function () {
9292
});
9393

9494
it('Perform `ng test` after adding a component', function() {
95-
this.timeout(300000);
95+
this.timeout(420000);
9696

9797
return ng(testArgs)
9898
.then(function(result) {
@@ -114,7 +114,7 @@ describe('Basic end-to-end Workflow', function () {
114114
});
115115

116116
it('Perform `ng test` after adding a service', function() {
117-
this.timeout(300000);
117+
this.timeout(420000);
118118

119119
return ng(testArgs)
120120
.then(function(result) {
@@ -136,7 +136,7 @@ describe('Basic end-to-end Workflow', function () {
136136
});
137137

138138
it('Perform `ng test` after adding a pipe', function() {
139-
this.timeout(300000);
139+
this.timeout(420000);
140140

141141
return ng(testArgs)
142142
.then(function(result) {
@@ -167,7 +167,7 @@ describe('Basic end-to-end Workflow', function () {
167167
});
168168

169169
it('Perform `ng test` after adding a route', function() {
170-
this.timeout(300000);
170+
this.timeout(420000);
171171

172172
return ng(testArgs)
173173
.then(function(result) {

0 commit comments

Comments
 (0)