Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b67d631
update: `emailverification` tests use core apps
namsnath Feb 26, 2025
d972335
update: `embed` tests use core apps
namsnath Mar 3, 2025
de0d170
update: `generalerror` tests use core apps
namsnath Mar 3, 2025
97cc647
update: `getRedirectionURL` tests use core apps
namsnath Mar 4, 2025
56d2924
update: remove assertion on creating new apps
namsnath Mar 4, 2025
5e2987a
feat: adds mocha envs to test config
namsnath Mar 4, 2025
2903ec1
lint: format code
namsnath Mar 4, 2025
65a4b1e
update: `accountlinking` tests use core apps
namsnath Mar 4, 2025
f4a6816
refactor: split app creation and ST setup utils
namsnath Mar 7, 2025
32912b7
refactor: split app creation and ST setup utils
namsnath Mar 7, 2025
b13f1d2
update: `multitenancy.tenant_interactions` tests use core apps
namsnath Mar 11, 2025
7ddb056
update: `oauth2provider` tests use core apps
namsnath Mar 11, 2025
bd6f228
update: `resetpasswordusingtoken` tests use core apps
namsnath Mar 12, 2025
0693785
update: `signin-rrdv5/6` tests use core apps
namsnath Mar 12, 2025
fcaf800
update: few `thirdparty` tests use core apps
namsnath Mar 12, 2025
29e33cb
update: removes `visual` tests
namsnath Mar 12, 2025
8c94499
removes usages of old helper functions
namsnath Mar 12, 2025
70b783b
update: `userContext`/`userroles` tests use core apps
namsnath Mar 12, 2025
e57d8fe
fix: broken tests, update configs
namsnath Mar 14, 2025
86a8453
update: remove log
namsnath Mar 14, 2025
cf27340
fix: correct setup ST url
namsnath Mar 19, 2025
3fdcfc8
test: only run few tests
namsnath Mar 19, 2025
6f8e779
revert: test: only run few tests
namsnath Mar 20, 2025
42f7a57
Fix package-lock issues
deepjyoti30-st Mar 25, 2025
7873bda
Add some fixes for userContext and test server
deepjyoti30-st Mar 25, 2025
0421c6e
update: remove spec config in mocha
namsnath Mar 25, 2025
f3e82fa
Add mochawesome as dep and fix package-lock
deepjyoti30-st Apr 7, 2025
1f3b3f5
Fix all tests to make them compatible with unified core setup
deepjyoti30-st Apr 7, 2025
bf9d507
Add fixes for tests to make them run
deepjyoti30-st Apr 9, 2025
b2b743b
Add compose and workflows for running the tests
deepjyoti30-st Apr 9, 2025
1bf2ae3
Fix remaining tests and make them all pass
deepjyoti30-st Apr 9, 2025
7060870
Add some fixes to the tests
deepjyoti30-st Apr 9, 2025
669f987
update: `multitenancy.dynamic_login_methods` tests use core apps
namsnath Mar 11, 2025
0dc0bec
Add fixes for tests upto signup
deepjyoti30-st Apr 9, 2025
a186233
Add fix for no providers enabled on the backend test
deepjyoti30-st Apr 10, 2025
ab67e59
Fix issues with failing test that was skipped
deepjyoti30-st Apr 10, 2025
ce30f80
Get rid of using random UUID for appId
deepjyoti30-st Apr 15, 2025
85f3532
Rename Core test to Core Functionality
deepjyoti30-st Apr 15, 2025
7651373
Get rid of a TODO
deepjyoti30-st Apr 15, 2025
c5b05fb
Get rid of using timeout in tests
deepjyoti30-st Apr 16, 2025
e2e6b2d
Get rid of setting appId from tests directly
deepjyoti30-st Apr 16, 2025
2623d7f
fix: issues with some tests failing due to imports
deepjyoti30-st Apr 17, 2025
519fed1
Add fix for existing user failing to be signed up
deepjyoti30-st Apr 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/workflows/tests-visual.yml

This file was deleted.

15 changes: 10 additions & 5 deletions .mocharc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
spec:
- test/unit/**/*.test.js
- test/end-to-end/**/*.test.js
reporter: spec
# spec:
# - test/end-to-end/**/*.test.js
slow: 20000
timeout: 30000
timeout: 40000
exit: true
require:
- "@babel/register"
- test/test.mocha.env
reporter: mocha-multi-reporters
reporter-option:
- configFile=mocha-multi-reporters.json
9 changes: 9 additions & 0 deletions mocha-multi-reporters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"reporterEnabled": "mochawesome, mocha-junit-reporter",
"mochaJunitReporterReporterOptions": {
"mochaFile": "test_report/test-results.xml"
},
"mochawesomeReporterOptions": {
"reportDir": "test_report/mochawesome"
}
}
27,373 changes: 7,260 additions & 20,113 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi": "^1.1.7",
"mocha-multi-reporters": "^1.5.1",
"mocha-split-tests": "github:rishabhpoddar/mocha-split-tests",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.19",
Expand Down Expand Up @@ -77,6 +78,7 @@
},
"dependencies": {
"intl-tel-input": "^17.0.19",
"mochawesome": "^7.1.3",
"prop-types": "*",
"supertokens-js-override": "^0.0.4"
},
Expand All @@ -98,7 +100,6 @@
"test-e2e-react16": "RUN_REACT_16_TESTS=true ./test/startTestApp.sh 8082",
"test-e2e-with-non-node": "./test/startTestApp.sh 8083",
"test-unit": "TEST_MODE=testing jest --silent -c jest.config.js --runInBand",
"test-visual": "SPEC_FILES=test/visual/**/*.test.js npx percy exec -- npm run test-e2e",
"prep-test-app": "./test/prepTestApp.sh $SRC",
"build-check": "cd lib && npx tsc -p tsconfig.json --noEmit && cd ../test/with-typescript && npx tsc -p tsconfig.json",
"tsc": "cd lib && npx tsc -p tsconfig.json",
Expand Down
Loading
Loading