+1 as well. We need UI-tests to be consistent as much as possible.

Regards,
Sorin B.


> Hi,
>
> The proposal is to make all click methods be named click*() in UI functional 
> tests.
>
> For example in ViewPage, instead of:
>
>      public LoginPage login()
>      {
>          this.loginLink.click();
>          return new LoginPage();
>      }
>
> We would have:
>
>      public LoginPage clickLogin()
>      {
>          this.loginLink.click();
>          return new LoginPage();
>      }
>
> Right now we have some methods starting with click and other not following 
> this pattern, the idea is to homogeneize it.
>
> WDYT?
>
> Thanks
> -Vincent
>
> _______________________________________________
> devs mailing list
> devs@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs

_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to