Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE-850 Migrate gui e2e-test framework to PlayWright #207

Merged
merged 1 commit into from Dec 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Expand Up @@ -15,5 +15,5 @@
**/client/src/components/Header/*.spec.js
**/client/src/components/App/*.spec.js
**/client/wdio.conf.js
**/client/e2e-test/*.js
**/client/e2e-test/**/*.js

7 changes: 7 additions & 0 deletions client/e2e-test/.mocharc.json
@@ -0,0 +1,7 @@
{
"watch-extensions": "js",
"recursive": true,
"spec": ["./specs/**/*.test.js"],
"timeout": 20000,
"extension": ["js"]
}
10 changes: 0 additions & 10 deletions client/e2e-test/docker-compose.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions client/e2e-test/gui-e2e-test-start.sh
Expand Up @@ -89,9 +89,7 @@ docker tag hyperledger/fabric-ca:${PULL_CA_IMAGE_VERSION} hyperledger/fabric-ca:
# Start selenium standalone server
#
pushd $ROOTDIR/client/e2e-test
docker-compose down -v
docker-compose -f docker-compose-explorer.yaml down -v
docker-compose up -d
docker-compose -f docker-compose-explorer.yaml up -d explorerdb.mynetwork.com
echo "#### Starting selenium containers & explorer-db container ..."

Expand All @@ -109,7 +107,9 @@ done
echo "#### Started explorer-db container"
popd

pushd $ROOTDIR/client
echo "#### Starting WebDriverI/O based test suite"
npx wdio ./e2e-test/wdio.conf.js
pushd $ROOTDIR/client/e2e-test
echo "#### Starting Fabric Network"
npm install
node startnetwork.js
npx mocha
popd