Comments (6)
Actually with qunit
you can run tests like this but it seems that reporters don't pick up the right test data for the reporting. Any contributions to improve this behavior would be appreciated.
from webdriverio.
@ethanyou725 can you elaborate on why you are interested to use a 3rd party UI for Mocha?
from webdriverio.
@ethanyou725 can you elaborate on why you are interested to use a 3rd party UI for Mocha?
Thanks for your kindly reply. Because we are migrating some exist test cases (*.spec.ts) to webdriverio.
e.g.
old case:
test('test case', async () => {
await step('1=1', async () => {
await expect(1).toBe(1)
})
})
in mocha without custom ui, bdd style it must use describe
and it
,
and with custom ui interface, we could have the ability not change the spec file.
from webdriverio.
Have you tried to set mochaOpts.ui
to tdd
?
from webdriverio.
Have you tried to set
mochaOpts.ui
totdd
?
yes, tdd provides different function suit, it could be more convenient if support custom ui.
from webdriverio.
Thanks for reporting!
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!
from webdriverio.
Related Issues (20)
- [🐛 Bug]: await browser.acceptAlert() is not working HOT 3
- Allure reports - way to surface the WDIO commands instead of displaying HTTP requests HOT 1
- [🐛 Bug]: Chromedriver binary override no longer works HOT 6
- [💡 Feature]: [spec-reporter] Do not report a failed test as a failure if it passed on a subsequent retry HOT 3
- [🐛 Bug]: App getting stuck after Launch HOT 1
- [🐛 Bug]: `browser.mock` not working locally with Firefox 126 HOT 2
- [🐛 Bug]: ERROR webdriver: Failed downloading chromedriver v125.0.6422.141: Download failed: server returned code 404 HOT 3
- [🐛 Bug]: Spec CLI arg breakable on Windows HOT 6
- [🐛 Bug]: Error installing @wdio/cli during project initialization HOT 2
- [🐛 Bug]: <@wdio/config:ConfigParser: Failed loading configuration file in CircleCi> HOT 1
- [🐛 Bug]: Error: There isn't any active suite! HOT 2
- [🐛 Bug]: Inconsistency with driver.lock HOT 3
- [🐛 Bug]: ts-node performs type check regardless of configuration HOT 1
- [📖 Docs]: <title> Fix mock.restore docs HOT 1
- [💡 Feature]: Improve `browser.mock` by enabling partial responses HOT 1
- [🐛 Bug]: allure-reporter - setting a custom message in matcher options makes the test to be reported as broken instead of failed HOT 5
- [🐛 Bug]: scrollIntoView does not scroll to the center of the viewport when used inside an iframe. HOT 3
- [🐛 Bug]: Jasmine and the JUnit reporter output empty spec files since v8.15.9 due to suite file property not including path HOT 1
- [🐛 Bug]: moz:debuggerAddress does not accept boolean value HOT 1
- [🐛 Bug]: <Scenarios with duplicated steps not failing> HOT 1
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 webdriverio.