0
我正在嘗試爲包含material-checkbox
的組件編寫測試。我使用pageloader
庫創建了一個頁面對象,我使用@ByTagName('material-checkbox')
獲得對material-checkbox
的PageLoaderElement
的引用。獲取測試中的子組件
如何測試複選框的checked
屬性?我嘗試訪問attributes
和properties
,但它們返回空值爲'checked'
。