Comments (1)
When there is a TS warning/error, wdio runner currently skips running the tests but still reports passed
with an exit status of 0
[0-0] RUNNING in chrome - /__tests__/browser-lib.test.ts
[1603406914.670][WARNING]: This version of ChromeDriver has not been tested with Chrome version 86.
[0-0] PASSED in chrome - /__tests__/browser-lib.test.ts
Spec Files: 1 passed, 1 total (100% completed) in 00:00:03
✨ Done in 4.55s.
Changing reporters (e.g. from spec
to dot
or concise
) doesn't help (e.g. concise
reports "All went well !!")
This needs to be fixed as it is misleading and could lead to issues passing undetected (e.g. in CI).
Currently to make sure that wdio tests are being run, have to closely watch the test output for signs e.g. tests names, count etc
[chrome 86.0.4240.111 mac os x #0-0] Running: chrome (v86.0.4240.111) on mac os x
[chrome 86.0.4240.111 mac os x #0-0] Session ID: dada5295279bd39d727176976a9a3b9f
[chrome 86.0.4240.111 mac os x #0-0]
[chrome 86.0.4240.111 mac os x #0-0] @sa11y/browser-lib
[chrome 86.0.4240.111 mac os x #0-0] ✓ should not have axe or sa11y loaded to start with
[chrome 86.0.4240.111 mac os x #0-0] ✓ should inject minified js
[chrome 86.0.4240.111 mac os x #0-0] ✓ should inject un-minified js
[chrome 86.0.4240.111 mac os x #0-0] ✓ should invoke functions on axe e.g. getRules
[chrome 86.0.4240.111 mac os x #0-0] ✓ should run a11y checks using axe
[chrome 86.0.4240.111 mac os x #0-0] ✓ should run a11y checks using sa11y
[chrome 86.0.4240.111 mac os x #0-0] ✓ should filter a11y violations using sa11y
[chrome 86.0.4240.111 mac os x #0-0]
[chrome 86.0.4240.111 mac os x #0-0] 7 passing (3.1s)
Spec Files: 1 passed, 1 total (100% completed) in 00:00:06
✨ Done in 8.12s.
Can this issue be fixed with a ts-node config or migrating away from ts-node (to babel e.g.)
from sa11y.
Related Issues (20)
- Dependency Dashboard
- Missing deliverable code for @sa11y/[email protected] HOT 2
- build: remove semantic-release dependency
- doc(jest, wdio): add screenshots, GIF demos to jest, wdio packages HOT 1
- build: replace ncu with yarn upgrade HOT 1
- test(lint): upgrade to typescript-eslint v3.x, typescript v4.x and fix newly identified issues HOT 1
- Install fails on node version 18? HOT 2
- Feature request: add support for node@18 (current LTS) HOT 4
- build: improve versioning workflow HOT 2
- feat(wdio): add screenshot, URL a11y issues output from @sa11y/wdio
- import { assertAccessible, assertAccessibleSync } problem HOT 9
- S@11y test results - how do we handle the nested interactive elements? HOT 5
- chore: find a better way to track TODOs in code HOT 1
- fix(jest): codecov, automatic check tests to work with Jest v27 HOT 4
- fix(jest): automatic checks should not be triggered for failed tests
- Button with shadow DOM contents reports "Buttons must have discernible text" HOT 7
- fix: errors with node lts v16 HOT 6
- fix: missing pkg dependency of @sa11y/common
- accesskeys rule not failing as expected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sa11y.