Skip to content

feat: add getPagePlatform() and update test-coverage#26

Merged
Umutayb merged 3 commits intomainfrom
add-getPagePlatform
Mar 27, 2026
Merged

feat: add getPagePlatform() and update test-coverage#26
Umutayb merged 3 commits intomainfrom
add-getPagePlatform

Conversation

@Umutayb
Copy link
Copy Markdown
Member

@Umutayb Umutayb commented Mar 27, 2026

Summary

  • Add getPagePlatform() public method that returns the platform string for a given page (defaults to 'web')
  • Add unit tests for getPagePlatform() covering default, explicit, custom platforms, and error case
  • Update @civitas-cerebrum/test-coverage from 0.0.8 to 0.0.9

Test plan

  • All 210 tests passing
  • New tests cover: default web platform, explicit platforms (web/android/ios), custom platforms (macos/windows), and missing page error

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 27, 2026

📊 API Coverage Report

API Coverage

Build Passed: 100% API Coverage!

🔍 View Detailed Coverage Breakdown

ElementRepository: 12/12
[x] getPagePlatform
[x] setDefaultTimeout
[x] get
[x] getAll
[x] getRandom
[x] getByText
[x] getByAttribute
[x] getByIndex
[x] getVisible
[x] getByRole
[x] getSelectorRaw
[x] getSelector

PlatformElement: 24/24
[x] click
[x] fill
[x] clear
[x] check
[x] uncheck
[x] hover
[x] doubleClick
[x] scrollIntoView
[x] pressSequentially
[x] setInputFiles
[x] dispatchEvent
[x] isVisible
[x] isEnabled
[x] isChecked
[x] textContent
[x] getAttribute
[x] inputValue
[x] locateChild
[x] count
[x] all
[x] first
[x] nth
[x] filter
[x] waitFor

WebElement: 24/24
[x] click
[x] fill
[x] clear
[x] check
[x] uncheck
[x] hover
[x] doubleClick
[x] scrollIntoView
[x] pressSequentially
[x] setInputFiles
[x] dispatchEvent
[x] isVisible
[x] isEnabled
[x] isChecked
[x] textContent
[x] getAttribute
[x] inputValue
[x] locateChild
[x] count
[x] all
[x] first
[x] nth
[x] filter
[x] waitFor

Plain report generated by @civitas-cerebrum/test-coverage · 2026-03-27

@Umutayb Umutayb merged commit 02a4af9 into main Mar 27, 2026
2 checks passed
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.

1 participant