alttester / alttester/AltTester-Unity-SDK

[Click method] The stars can not be created using click on coordinates in scene 5

Đang mở
#1,412 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug no version old input system triaged
Ngôn ngữ chính
C#
Star
121
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The stars can not be created if we use the click method instead of `PressKey(AltKeyCode.Mouse0, 0.1f)`
at the same coordinates in the fifth scene.
## Steps to reproduce

1. Open the AltTester Desktop and connect it to the instrumented Standalone game
2. Open the SDK project in a code editor
3. Go to the following relative path `Assets\Examples\Test\Editor\Driver\TestForScene5KeyboardAndMouseInput.cs`
4. Search for TestCreatingStars
5. Change the `altDriver.PressKey(AltKeyCode.Mouse0, 0.1f);` into ` altDriver.Click(pressingpoint1.GetScreenPosition());`
6. Run the test
## Actual result

### AR

The test is failing because the star is not created (only 2 stars are created instead of 3).
### Additional info

**Testing setup:**
- Windows 10
- AltTesterDesktop (commit number: https://github.com/alttester/AltTester-Desktop/commit/75eb7a97c5669d87c54c8ade8cbd4c9a019dd0a7 - Pro)
- AltTesterUnitySDK project from 963-retro-improve-test-automation-coverage-1 branch (up to date with dev)
## Expected result

### ER

The stars should be created using the click at some coordinates method. Otherwise, we should add this info to the documentation, because, the user can detect this as a bug.
### Additional info

## Testability

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.