Skip to content

Updated decorators to the ecmascript standard ones in TS5 #12

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

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7919709
swapped minimist for yargs
teo-nikolov Feb 3, 2025
64a10e0
added filter environment variables and logic to obtain them from cli
teo-nikolov Feb 3, 2025
3a9e601
added test filtering logic to vitest
teo-nikolov Feb 3, 2025
d57b074
Added category decorator
teo-nikolov Feb 3, 2025
c07ef98
added category in CI test (still order dependent)
teo-nikolov Feb 3, 2025
8872e60
updated logic for filters
teo-nikolov Feb 3, 2025
dea9397
added test category
teo-nikolov Feb 3, 2025
2a7c516
fixed duplicate line
teo-nikolov Feb 3, 2025
8e138ad
updated vitest from version 1 to 2, added @Debug for isolationg speci…
teo-nikolov Feb 3, 2025
8c18b44
limit debug to methods
teo-nikolov Feb 3, 2025
d49790e
fixing flaky tests
teo-nikolov Feb 3, 2025
86c9877
update vitest from 2 to 3
teo-nikolov Feb 3, 2025
5791eba
minor cleanup
teo-nikolov Feb 3, 2025
679c75c
remove unused code
Feb 4, 2025
2c18c12
remove comment
Feb 4, 2025
542dd7a
updated root path to be the project/config location and updated vites…
teo-nikolov Feb 4, 2025
80596ce
Merge branch 'add-test-filtering' of https://github.com/AutomateThePl…
Feb 6, 2025
5576372
Changed hooks to use this instead of the instance as first argument
teo-nikolov Feb 6, 2025
e7bcc3a
vitest update and fix playwright child process debugging
teo-nikolov Feb 6, 2025
7e2b4a7
revert config and runner changes
teo-nikolov Feb 6, 2025
8b201d9
added wait to flaky test
teo-nikolov Feb 6, 2025
ba39f20
removed 'run tests' as it will wait for debugger indefinitely in play…
teo-nikolov Feb 6, 2025
7c4595c
Merge branch 'add-test-filtering' of https://github.com/AutomateThePl…
Feb 6, 2025
afaf23a
Merge branch 'add-test-filtering' of https://github.com/AutomateThePl…
Feb 6, 2025
8e164ef
added test timeout to playwright
teo-nikolov Feb 6, 2025
09f5884
updated other test runners
teo-nikolov Feb 6, 2025
2dada89
fixed debug for jest, jasmine and mocha
teo-nikolov Feb 6, 2025
864f39b
updating tsconfig and removing unsupported package
teo-nikolov Feb 7, 2025
654ff4c
metadata and decorators update & refactoring
teo-nikolov Feb 7, 2025
7870b47
fixed issue with test run hanging indefinitely if not in debug
teo-nikolov Feb 7, 2025
8bf267f
Merge branch 'add-test-filtering' of github.com:AutomateThePlanet/BEL…
teo-nikolov Feb 7, 2025
5df92fa
fix for windows invalid report pathname
teo-nikolov Feb 10, 2025
98c809a
fix typo
teo-nikolov Feb 11, 2025
a50a72d
rename decorator
teo-nikolov Feb 11, 2025
ff29999
added @TestCase decorator for parametrized tests
teo-nikolov Feb 13, 2025
0b2110c
make get return copy of the config
teo-nikolov Feb 13, 2025
6a10cb2
removed 'static' classes in favour of module import, moved extras pro…
teo-nikolov Feb 13, 2025
cfba2ce
fixing readme
teo-nikolov Feb 19, 2025
1896b1f
Merge branch 'decorators-update' of github.com:AutomateThePlanet/BELL…
teo-nikolov Feb 19, 2025
c71bdaa
update readme
teo-nikolov Feb 19, 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
34 changes: 31 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"type": "node",
"request": "launch",
"name": "Run Tests",
"name": "example: debug main process",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
Expand All @@ -15,7 +15,35 @@
],
"cwd": "${workspaceFolder}/example",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
"internalConsoleOptions": "neverOpen",
"presentation": {
"hidden": true
},
},
{
"type": "node",
"request": "attach",
"name": "try debug child process",
"port": 12016,
"skipFiles": [
"<node_internals>/**"
],
"timeout": 5000,
"restart": false,
"presentation": {
"hidden": true
},
},
],
"compounds": [
{
"name": "(example) debug tests",
"configurations": ["example: debug main process", "try debug child process"],
"presentation": {
"hidden": false,
"group": "",
"order": 1
},
}
]
}
}
2 changes: 1 addition & 1 deletion @bellatrix/appium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"selenium-webdriver": "^4.16.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
"typescript": "^5.7.3"
}
}
5 changes: 3 additions & 2 deletions @bellatrix/appium/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"moduleResolution": "bundler",
"moduleDetection": "force",
"noImplicitOverride": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": false,
"emitDecoratorMetadata": false,
"useDefineForClassFields": true,
"composite": true,
"sourceMap": true,
"strict": true,
Expand Down
Loading