Skip to content

Element.doubleClick() Implemented#57

Merged
vimscientist69 merged 2 commits intomasterfrom
feat/element-double-click-method
Aug 14, 2025
Merged

Element.doubleClick() Implemented#57
vimscientist69 merged 2 commits intomasterfrom
feat/element-double-click-method

Conversation

@vimscientist69
Copy link

@vimscientist69 vimscientist69 commented Aug 13, 2025

Reason

Reason for this pull request: fixes #56

Tech Details List

  1. Create doubleClick() implementation
  2. Write working integration tests

Tasks:

  1. Create doubleClick() implementation
  2. Write working integration tests

Un-important tasks:

No tasks here

Links:

ISSUE-56
closes/resolves #56

Testing

Steps:

  1. Run required commands to test all the code modified by this PR
# unit tests
# integration tests
npm run compose:build-and-up
swift build ; swift test --filter "ChromeDriverElementHandleIntegrationTests"
# procs / testing logic
  1. Further testing can be done by following the notes in TESTING-QA

Output:

╰─❯ swift build ; swift test --filter "ChromeDriverElementHandleIntegrationTests"
❯ swift build ; swift test --filter "ChromeDriverElementHandleIntegrationTests"
[1/1] Planning build
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build complete! (1.69s)
[1/1] Planning build
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build complete! (1.68s)
Test Suite 'Selected tests' started at 2025-08-13 15:59:06.130.
Test Suite 'swift-webdriverPackageTests.xctest' started at 2025-08-13 15:59:06.137.
Test Suite 'swift-webdriverPackageTests.xctest' passed at 2025-08-13 15:59:06.137.
         Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'Selected tests' passed at 2025-08-13 15:59:06.137.
         Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.007) seconds
◇ Test run started.
↳ Testing Library Version: 124.4
↳ Target Platform: arm64e-apple-macos14.0
◇ Suite "Chrome Driver Element Handles" started.
◇ Test "Click Button" started.
✔ Test "Click Button" passed after 2.699 seconds.
◇ Test "Double Click Button" started.
✔ Test "Double Click Button" passed after 2.603 seconds.
◇ Test "Get Element Attributes" started.
✔ Test "Get Element Attributes" passed after 2.493 seconds.
◇ Test "Clear Element" started.

Testing QA

Make sure to run npm run compose:build-and-up to start up required services for integration tests before running integration tests.

… method, created request to double click on element
…ion test for double click method

Tests passed as expected
@vimscientist69 vimscientist69 self-assigned this Aug 13, 2025
@vimscientist69 vimscientist69 merged commit 80173a2 into master Aug 14, 2025
0 of 2 checks passed
@vimscientist69 vimscientist69 deleted the feat/element-double-click-method branch August 14, 2025 15:22
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.

Feature -> Element.doubleClick() Method

1 participant