-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-981 Fix E2E tests for Apps UI tab
- 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
- Loading branch information
Showing
19 changed files
with
517 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
set -ev | ||
mvn clean package | ||
mvn clean package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
#!/bin/bash | ||
set -ev | ||
cd ui | ||
mkdir .docker | ||
cd .docker | ||
curl -O https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/v$DATAFLOW_VERSION/spring-cloud-dataflow-server/docker-compose.yml | ||
docker-compose up --no-start | ||
cd .. | ||
npm install | ||
npm run e2e-browserstack-local | ||
cd .. | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/bash | ||
set -ev | ||
cd ui | ||
mkdir .docker | ||
cd .docker | ||
curl -O https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/v$DATAFLOW_VERSION/spring-cloud-dataflow-server/docker-compose.yml | ||
docker-compose up --no-start | ||
cd .. | ||
npm install | ||
pwd | ||
ls -al | ||
ls -al e2e | ||
npm run e2e | ||
cd .. | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
#!/bin/bash | ||
set -ev | ||
cd ui | ||
mkdir .docker | ||
cd .docker | ||
curl -O https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/v$DATAFLOW_VERSION/spring-cloud-dataflow-server/docker-compose.yml | ||
docker-compose up --no-start | ||
cd .. | ||
npm install | ||
npm run e2e-saucelabs-local | ||
cd .. | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#!/bin/bash | ||
set -ev | ||
|
||
cd ui | ||
npm install | ||
npm run test-saucelabs-local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.