Skip to content

The check-methodo option ignore won't ignore WDIO Elements #857

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
wswebcreation opened this issue Apr 14, 2025 · 0 comments
Open

The check-methodo option ignore won't ignore WDIO Elements #857

wswebcreation opened this issue Apr 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wswebcreation
Copy link
Member

wswebcreation commented Apr 14, 2025

Environment (please complete the following information):

  • Node.js version: [e.g. 8.9.1]
  • NPM version: [e.g. 5.8.0]
  • Browser name and version: [e.g. Chrome 68]
  • Platform name and version: [e.g. Windows 10]
  • WebdriverIO version: [e.g. 5.1.0]
  • @wdio/visual-service version: latest

Config of WebdriverIO + @wdio/visual-service
An example of how you configured the @wdio/visual-service

Describe the bug
When you create a test like this for the web

const result = await browser.checkScreen('web-app', {
  ignore: [$('.navbar__brand')],
  hideElements: [$('.hero__title')]
}) as number

then it will not blockout the element. The code to determine the position and size is not implemented. For now only coordinates work

To Reproduce
See above

Expected behavior
A blockout is created and shown on the diff

Log
If applicable, add logs to help explain your problem. If you don't have log, enable 'debug:true' in the config and paste the log here.
Please use proper markdown to style it

Additional context
Add any other context about the problem here.

@wswebcreation wswebcreation self-assigned this Apr 14, 2025
@wswebcreation wswebcreation added the bug Something isn't working label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant