Typography

活版印字


  • Home
  • Archive
  • Categories
  • Tags
  •  

© 2020 alincode

Theme Typography by Makito

Proudly published with Hexo

Geb 0.13.x 更新重點

Posted at 2016-04-01 Geb 

0.13.0

新功能

  • 對 Spock 和 Junit4 支援 config.reportOnTestFailureOnly#92
  • 新增 navigator 的 isFocused 方法#208
  • 提供更多的 InvalidPageContent exception,易於 debug #109 #122

bugs 修復

  • 修正與 TestNG 整合時,報表的 bug

…(待補)…

Deprecations

  • geb.testng.GebTest 被 geb.testng.GebTestTrait 取代
  • geb.testng.GebReportingTest 被 geb.testng.GebReportingTestTrait 取代

重大改變

  • Geb 0.13.0 相依在 Groovy 2.4.5 和 Spock 1.0-groovy-2.4
  • 在操作 Navigator 時,若選取多個元素,卻又呼叫只支援單元素 method 的時候,會拋出 SingleElementNavigatorOnlyMethodException #284
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
hasClass(java.lang.String),
is(java.lang.String),
isDisplayed(),
isDisabled(),
isEnabled(),
isReadOnly(),
isEditable(),
tag(),
text(),
getAttribute(java.lang.String),
attr(java.lang.String),
classes(),
value(),
click(),
getHeight(),
getWidth(),
getX(),
getY(),
css(java.lang.String),
isFocused().

Share 

 Previous post: Geb 0.10.x ~ 0.12.x 更新重點 Next post: Flux 生命週期範例 

© 2020 alincode

Theme Typography by Makito

Proudly published with Hexo