diff --git a/.circleci/config_continue.yml b/.circleci/config_continue.yml index 43a004523..b250913d9 100644 --- a/.circleci/config_continue.yml +++ b/.circleci/config_continue.yml @@ -116,6 +116,12 @@ jobs: - store_artifacts: path: test_report/backend.log destination: logs + - store_artifacts: + path: test_report/screenshots + destination: screenshots + - store_artifacts: + path: test_report/react-logs + destination: react-logs - slack/status test-success: docker: diff --git a/.circleci/setupAndTestWithAuthReact.sh b/.circleci/setupAndTestWithAuthReact.sh index 9bb0600bf..5df2f38a2 100755 --- a/.circleci/setupAndTestWithAuthReact.sh +++ b/.circleci/setupAndTestWithAuthReact.sh @@ -113,6 +113,12 @@ cd ../../../supertokens-auth-react/ MOCHA_FILE=test_report/report_node.xml SKIP_OAUTH=true npm run test-with-non-node if [[ $? -ne 0 ]] then + mkdir -p ../project/test_report/screenshots + mv ./test_report/screenshots/* ../project/test_report/screenshots/ + + mkdir -p ../project/test_report/react-logs + mv ./test_report/logs/* ../project/test_report/react-logs/ + echo "test failed... exiting!" rm -rf ./test/server/node_modules/supertokens-node git checkout HEAD -- ./test/server/package.json diff --git a/test/auth-react-server/index.js b/test/auth-react-server/index.js index b52b4ea5a..51ad8fa28 100644 --- a/test/auth-react-server/index.js +++ b/test/auth-react-server/index.js @@ -951,7 +951,7 @@ function initST({ passwordlessConfig } = {}) { }), ]); - recipeList.push(["oauth2", OAuth2Provider.init()]); + recipeList.push(["oauth2provider", OAuth2Provider.init()]); SuperTokens.init({ appInfo: {