metasfresh / metasfresh-e2e-legacy

metasfresh End-2-End Testing project.
7 stars 1 forks source link

Move existing cypress tests into metasfresh-e2e repo #7

Closed metas-ts closed 5 years ago

metas-ts commented 5 years ago

@siemiatj this repo's gh7-e2e branch now contains

from metasfresh-webui-frontend.

It also still contains the things it used to contain, e.g. the Jenkinsfile that builds an e2e docker image by cloning metasfresh-webui-frontend. Please make cypress work in here. Feel free to edit, move around, rename etc whatever you need to

metas-ts commented 5 years ago

Note: here is how i moved the code, thx to https://gist.github.com/trongthanh/2779392

cd metasfresh-webui-frontend/
git mv cypress.json cypress/cypress.json
git commit -m "moving cypress.json in order for it to be moved to measfresh-e2e"
git filter-branch --subdirectory-filter cypress -- -- all

cd ..
git clone git@github.com:metasfresh/metasfresh-e2e.git
cd metasfresh-e2e
git remote add frontend ../metasfresh-webui-frontend/
git fetch frontend
git branch frontend remotes/frontend/master
git checkout -b gh7-e2e
git merge frontend --allow-unrelated-histories