You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fine-tune timeouts
- Refactor E2E Shell-scripts for Travis
- Set up Docker images using `--no-start` flag
- Helps minimize timeout issues with Protractor
- Helps to identify any Docker issues as early as possible
- Refactor a basic set of Protractor E2E tests
- Eliminate calls to `Browser.sleep()`
- Use async/await
- Add new Helper methods
- Especially `ElementHelper.clickElement()`
- Problem:
* Spinners/Loading indicators may block clickable elements
* A previous action may be so fast that the subsequent element to be clicked does not appear, yet
- Solution:
* Wait for element to appear but don't use `Browser.sleep()`
* Instead poll periodically for the element and try to click it
* Allow for eventual timeout and test-failure in case the expected element never appears
- Add support to skip execution of Protractor Docker Plugin
Copy file name to clipboardExpand all lines: README_DEV.md
+9
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,15 @@ $ npm run test-browserstack-local
82
82
$ npm run e2e-browserstack-local
83
83
```
84
84
85
+
⚠️ **E2E Tests**
86
+
87
+
When executing E2E tests you can either run a local Docker environment using the Spring Cloud Data Flow provided [Docker Compose yaml file](https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/master/spring-cloud-dataflow-server/docker-compose.yml) or, alternatively, have Protractor bootstrap Docker for you (Docker needs to be running and the [Docker Compose](https://docs.docker.com/compose/) command needs to be available in the path).
88
+
89
+
When using Docker Compose manually, set the environment variable `DATAFLOW_SKIP_DOCKER_COMPOSE` to `true`. For both options you also need to specify the respective Docker version tags for [Spring Cloud Data Flow](https://hub.docker.com/r/springcloud/spring-cloud-dataflow-server/tags) and [Spring Cloud Skipper](https://hub.docker.com/r/springcloud/spring-cloud-skipper-server/tags) using the environment variables:
90
+
91
+
-`DATAFLOW_VERSION`
92
+
-`SKIPPER_VERSION`
93
+
85
94
### Build fails after merging a branch or changing branches
86
95
87
96
In some cases the npm-modules or other dependencies may become inconsistent during branch changes.
0 commit comments