Skip to content

refactor: remove unused imports from action tests #2309

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
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

noritaka1166
Copy link
Contributor

@noritaka1166 noritaka1166 commented May 12, 2025

User description

Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.

Description

remove unused imports from action tests

Motivation and Context

Types of changes

  • Change to the site (I have double-checked the Netlify deployment, and my changes look good)
  • Code example added (and I also added the example to all translated languages)
  • Improved translation
  • Added new translation (and I also added a notice to each document missing translation)

Checklist

  • I have read the contributing document.
  • I have used hugo to render the site/docs locally and I am sure it works.

PR Type

enhancement


Description

  • Removed unused import statements from action test files

  • Improved code cleanliness and maintainability in test suite


Changes walkthrough 📝

Relevant files
Enhancement
BaseTest.kt
Remove unused BeforeAll import from BaseTest                         

examples/kotlin/src/test/kotlin/dev/selenium/BaseTest.kt

  • Removed unused import of BeforeAll
  • Cleaned up import section for clarity
  • +0/-1     
    ActionsTest.kt
    Remove unused WebElement import from ActionsTest                 

    examples/kotlin/src/test/kotlin/dev/selenium/actions_api/ActionsTest.kt

  • Removed unused import of WebElement
  • Streamlined import statements
  • +0/-1     
    KeysTest.kt
    Remove unused WebElement import from KeysTest                       

    examples/kotlin/src/test/kotlin/dev/selenium/actions_api/KeysTest.kt

    • Removed unused import of WebElement
    • Simplified import section
    +0/-1     
    MouseTest.kt
    Remove unused Rectangle and WebElement imports from MouseTest

    examples/kotlin/src/test/kotlin/dev/selenium/actions_api/MouseTest.kt

  • Removed unused imports of Rectangle and WebElement
  • Cleaned up import section for maintainability
  • +0/-2     
    PenTest.kt
    Remove unused Rectangle import from PenTest                           

    examples/kotlin/src/test/kotlin/dev/selenium/actions_api/PenTest.kt

    • Removed unused import of Rectangle
    • Cleaned up import section
    +0/-1     

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • Copy link

    netlify bot commented May 12, 2025

    👷 Deploy request for selenium-dev pending review.

    Visit the deploys page to approve it

    Name Link
    🔨 Latest commit baac111

    Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ No major issues detected

    Copy link
    Contributor

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant