<NME> progress.spec.js
<BEF> ADDFILE
<MSG> Add step progress to eventDetails (#106)

* Adding `progress` to eventDetails

* Tests for adding `progress` to eventDetails

<DFF> @@ -0,0 +1,74 @@
+let util = require('./test_util');
+
+describe('progress', function() {
+  it('cucumber 1 provides feature progress details to protractor', function() {
+    return util
+      .runOne(
+        'test/cucumber/conf/cucumber1Conf.js --cucumberOpts.tags @sourceLocation'
+      )
+      .expectExitCode(0)
+      .expectEvents([
+        {
+          progress: {
+            step: 1,
+            steps: 2
+          }
+        },
+        {
+          progress: {
+            step: 2,
+            steps: 2
+          }
+        }
+      ])
+      .run();
+  });
+
+  it('cucumber 2 provides feature progress details to protractor', function() {
+    return util
+      .runOne(
+        'test/cucumber/conf/cucumber2Conf.js --cucumberOpts.tags @cucumber2'
+      )
+      .cucumberVersion2()
+      .expectExitCode(0)
+      .expectEvents([
+        {
+          progress: {
+            step: 1,
+            steps: 2
+          }
+        },
+        {
+          progress: {
+            step: 2,
+            steps: 2
+          }
+        }
+      ])
+      .run();
+  });
+
+  it('cucumber 3 provides feature progress details to protractor', function() {
+    return util
+      .runOne(
+        'test/cucumber/conf/cucumber3Conf.js --cucumberOpts.tags @cucumber3'
+      )
+      .cucumberVersion3()
+      .expectExitCode(0)
+      .expectEvents([
+        {
+          progress: {
+            step: 1,
+            steps: 2
+          }
+        },
+        {
+          progress: {
+            step: 2,
+            steps: 2
+          }
+        }
+      ])
+      .run();
+  });
+});

Add step progress to eventDetails (#106)