Comments (7)
@Winify There is only one strange thing that I suspect -
should adequately assert texts (1 retries)
(1 retries) - What kind of retries do you use? could you check with and without retries?
from webdriverio.
@Winify We need a repository with a reproducible example. Your example and repro steps work well for me.
[0-0] Error in "Snapshot testing.should adequately assert texts"
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 0
+ Received + 1
"
....
Broken Images
+ Challenging DOM
Checkboxes
Context Menu
Digest Authentication (user and pass: admin)
....
"
at Context.<anonymous>
[0-0] FAILED in chrome
Snapshot Summary:
1 snapshot(s) unmatched.
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:05
from webdriverio.
Thanks for raising this issue 🙏
Unfortunately we can't help you without a reproducible example in this matter. Please read our contributing guidelines on how to create a reproducible example. If you can't provide a reproducible example we will close this issue in 7 days.
If you have any questions please reach out to us on our Discord channel. We are happy to help you out there.
from webdriverio.
@BorisOsipov Thank you for the swift response,
And I apologize, because as I created a repro example project.... it actually works as expected.
It looks like something in our framework goes awry, but I could not identify what, as I copied our configs to the repro project as well...
All in all, thank you so much
from webdriverio.
Thanks @Winify , let us know if you are able to reproduce this one, then I am happy to re-open and take a look.
from webdriverio.
@BorisOsipov You are right!
I am using mocha retries:
mochaOpts: {
ui: 'bdd',
timeout: process.env.SPEC_TIMEOUT ?? 90_000,
compilers: ['ts:ts-node/register'],
retries: Number(process.env.RETRIES ?? 0)
},
In the repro project I emitted this config, as I did not think it was neccessary.
If I remove the RETRIES=1 config from the env file, it fails as expected!
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)
- ERROR @wdio/runner: Error: Cannot find typescript module imported from spec.ts HOT 1
- [📖 Docs]: v8.36.0 tag and GitHub release points to wrong commit, v8.36.1 release notes are wrong HOT 1
- [🐛 Bug]: isElementDisplayed returns incorrect result for elements with overflow-x/y: hidden and zero width/height HOT 3
- [📖 Docs]: Mocha third party UIs HOT 6
- [🐛 Bug]: `window.frameElement` always evaluating to `null` HOT 17
- [🐛 Bug]: Specifying browser version does not work when running in a Docker container HOT 1
- [🐛 Bug]: Incorrect Type Definition in suites Configuration Causes Compilation Error in VS Code HOT 3
- [🐛 Bug]: Issue with recording in Safari HOT 1
- [🐛 Bug]: Scrolling in Mobile Devices using WDIO is not working properly HOT 8
- [🐛 Bug]: `aria/` selector fails when selecting an input related to a label when there are multiple inputs in the document
- [💡 Feature]: Add certificate to Browserstack service config HOT 1
- [💡 Feature]: Modification of outbound network request props HOT 5
- [🐛 Bug]: Cannot add custom `scroll` element command HOT 3
- [🐛 Bug]: Internal TypeError when chaining from an index of a ChainableElementArray HOT 5
- [🐛 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 3
- [💡 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
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.