Skip to content
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

refactor: remove redundant parameters from isElementStyleVisibilityVi… #30637

Merged
merged 1 commit into from
May 8, 2024

Conversation

dassaswat
Copy link
Contributor

…sible

Remove the following unnecessary parameters from checkVisibility() in isElementStyleVisibilityVisible:

  • checkOpacity (historic alias for opacityProperty, defaults to false)
  • checkVisibilityCSS (historic alias for visibilityProperty, defaults to false)

Simplify the function call by removing these obsolete parameters.

…sible

Remove the following unnecessary parameters from checkVisibility() in isElementStyleVisibilityVisible:

- checkOpacity (historic alias for opacityProperty, defaults to false)
- checkVisibilityCSS (historic alias for visibilityProperty, defaults to false)

Simplify the function call by removing these obsolete parameters.

Signed-off-by: Saswat Das <68921527+dassaswat@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented May 2, 2024

Test results for "tests 1"

2 flaky ⚠️ [chromium-page] › page/page-event-request.spec.ts:139:3 › should report navigation requests and responses handled by service worker with routing
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots

27282 passed, 671 skipped
✔️✔️✔️

Merge workflow run.

@mxschmitt mxschmitt merged commit 7c82671 into microsoft:main May 8, 2024
30 checks passed
thebigbrain pushed a commit to thebigbrain/playwright that referenced this pull request May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants