Our Privacy Policy has changed, please visit https://about.gitlab.com/privacy to review these changes.
WIP: [Sprint/NuancedNumbat](fix) E2E tests for staging and production #1948
Closes #1948 (closed)
0/2 threads resolved
added MR::Awaiting Review Squad::Yellow scoped labels
approved this merge request
added 1 commit
- da291502 - Updated economic tests to be more economical.
added 2 commits
marked as a Work In Progress
added 10 commits
- 2cb13e68...210b74cb - 7 commits from branch
master
- 5e6428fc - Merge branch 'master' of gitlab.com:minds/front into fix/e2e-tests-staging
- ba1d5e42 - Merge branch 'master' of gitlab.com:minds/front into fix/e2e-tests-staging
- 0023ec23 - Updates WIP
Toggle commit list- 2cb13e68...210b74cb - 7 commits from branch
added MR::Requires Changes scoped label and automatically removed MR::Awaiting Review label
- Developer
Fixed build error, current issue is that when pro is enabled for an account it cannot be switched off and so subsequent tests using that account fail.
added 4 commits
- 0023ec23...5b94c667 - 2 commits from branch
master
- b4746fe9 - Merge branch 'master' of gitlab.com:minds/front into fix/e2e-tests-staging
- 139f228d - current progress 10x fails to ~60 success.
- 0023ec23...5b94c667 - 2 commits from branch
- Last updated by Ben Hayward
44 44 - > 45 45 if [ "$CI_BUILD_REF_NAME" == "master" ]; then 46 46 export E2E_DOMAIN=https://www.minds.com 47 export PRODUCTION=true 47 48 else 48 49 export E2E_DOMAIN=https://$CI_BUILD_REF_SLUG.$KUBE_INGRESS_BASE_DOMAIN 50 export PRODUCTION=false 49 51 fi 50 52 - export CYPRESS_baseUrl=$E2E_DOMAIN 51 53 - echo "E2E tests for $CI_BUILD_REF_NAME running against $E2E_DOMAIN with user $CYPRESS_username" 52 - $(npm bin)/cypress run --browser chrome --record --key $CYPRESS_RECORD_ID --config CYPRESS_baseUrl=$E2E_DOMAIN 54 - $(npm bin)/cypress run --browser chrome --record --key $CYPRESS_RECORD_ID --config CYPRESS_baseUrl=$E2E_DOMAIN,production=$PRODUCTION - Developer
need to update to add pro user and pw
- Developer
Also am going to need to pass the password for the pro user to this script.
53 56 # set default arguments 54 57 url="http://localhost" 55 58 username="minds_cypress_tests" 59 pro_username="minds_cypress_tests_pro" 60 pro_password="123123213" - Developer
Need to change this - should not be defaulted here when this is merged, and needs to be changed