Custom maven property has introduced to skip UI tests in such build
environments. Users can ignore UI tests by using "mvn install
-DskipUiTests=true" command. This property works together with surefire
plugin. Will introduce build profile based on the this new property to run
tests only on build servers.

Thanks,
Krishantha.



On Mon, Sep 1, 2014 at 9:55 PM, Sagara Gunathunga <[email protected]> wrote:

>
>
>
> On Mon, Sep 1, 2014 at 4:25 PM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> Hi Dimuthu,
>>
>> You need to get sauce labs jenkins plugin installed in master and PR
>> builder instances. Otherwise these UI tests will get fail.
>>
>
> What happen if I run above code in my own EC2 instance ? I guess build
> will fail as I don't have any Sauce Labs plugin there.
>
> If so you need to create a new Maven profile so that above tests run only
> if this profile get activated, in our build servers we can install Sauce
> Labs plugins and enable this profile.
>
> BTW please test Sauce Labs plug-in in staging environment before apply
> into any production server.
>
> Thanks !
>
>
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Mon, Sep 1, 2014 at 2:16 PM, Dimuthu De Lanerolle <[email protected]>
>> wrote:
>>
>>> Hi Sagara,
>>>
>>> I have tested running these UI tests in Sauce Labs environment using
>>> Jenkins builder. We can use Sauce OnDemand Plugin for this. This plugin
>>> lets you to select the platform (eg: Linux, Windows ) and the browser type
>>> and its version (eg: firefox 15.0 etc) prior running the tests . Since I
>>> have committed the changes required to run tests in Sauce Labs environment
>>> to TAF we can run tests-UI module in the pull request above.
>>>
>>> Regards
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>>  lean . enterprise . middlewear.
>>
>
>
>
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to