Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-16 Thread Christofer Dutz
Hi guys, Thanks for that … definitely have to look a little more into the cool stuff on the client side and not always just dig in the compiler and the build tools ;-) Chris Am 16.01.17, 10:30 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : thanks Om, just having some pro

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-16 Thread Carlos Rovira
thanks Om, just having some problems with my laptop today :( well I think the example posted will help Chris to figure about an AutomationBead thanks! 2017-01-16 10:27 GMT+01:00 OmPrakash Muppirala : > Looks like the mailing list removed the css snippet you posted. > > Thanks, > Om > > On Mon,

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-16 Thread Carlos Rovira
sorry the email just sent :) mdl:List css: List { IBeadView: ClassReference("org.apache.flex.mdl.beads.views.ListView"); IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel"); IBeadLayout: ClassReference(null); /*"org.apache.flex.html.beads.layouts.Vertic

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-16 Thread OmPrakash Muppirala
Looks like the mailing list removed the css snippet you posted. Thanks, Om On Mon, Jan 16, 2017 at 1:25 AM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Hi Chris, > > for example in mdl:List the css is: > > > 2017-01-16 9:58 GMT+01:00 Christofer Dutz : > > > Hi Alex, > > > > Could you

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-16 Thread Carlos Rovira
Hi Chris, for example in mdl:List the css is: 2017-01-16 9:58 GMT+01:00 Christofer Dutz : > Hi Alex, > > Could you eventually whip up a little example of how to do what you > describe in the last paragraph? > I’m actually really new to the ActionScript + MXML side of FlexJS, but > very willing

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-16 Thread Christofer Dutz
Hi Alex, Could you eventually whip up a little example of how to do what you describe in the last paragraph? I’m actually really new to the ActionScript + MXML side of FlexJS, but very willing to learn ;-) Chris Am 16.01.17, 07:41 schrieb "Alex Harui" : On 1/15/17, 9:17 AM, "C

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-15 Thread Alex Harui
On 1/15/17, 9:17 AM, "Christofer Dutz" wrote: >Hi, > >Well simply adding an automationName attribute would be small and simple, >adding beads would be more PAYG, but also a lot of more code. >What would be cool would be if we could add such an AutomationBead >similarly as skinClass would be add

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-15 Thread Christofer Dutz
Hi, Well simply adding an automationName attribute would be small and simple, adding beads would be more PAYG, but also a lot of more code. What would be cool would be if we could add such an AutomationBead similarly as skinClass would be added in Spark. Some configuration that allows adding A

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Alex Harui
On 1/13/17, 3:35 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >mmm I was thinink on Injecting, but inject could be problematic since >mainly *all* components would get the automation bead and maybe that's not >what we want. Ejecting? mmm don't like the idea of "writing" it do

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Carlos Rovira
mmm I was thinink on Injecting, but inject could be problematic since mainly *all* components would get the automation bead and maybe that's not what we want. Ejecting? mmm don't like the idea of "writing" it down to the component...don't know right now I like the spring framework philosophy f

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Alex Harui
On 1/13/17, 11:09 AM, "piotrz" wrote: >Hi Guys, > >In my opinion injecting Beads by some configuration will confuse people. >As >I understand such Bead which adding automation name will take same >parameter >with this name. > >Once you have Beads in your view it's giving really nice and clean

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Alex Harui
On 1/13/17, 11:03 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi great to think in it as a bead. But this makes me thing about a way to >"inject the beads" so we doesn't need to touch code, but some config that >remove the inject of automation beads in all components...(the

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread piotrz
with component. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Discuss-Add-support-for-automationName-for-making-unit-tests-simpler-tp58230p58255.html Sent from the Apache Flex Development mailing

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Carlos Rovira
Hi great to think in it as a bead. But this makes me thing about a way to "inject the beads" so we doesn't need to touch code, but some config that remove the inject of automation beads in all components...(the manual way of write the bead and remove would be not usable in the real world) 2017-01-

Re: [FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Alex Harui
My thought was that automated testing properties would be a separate bead. That way you can more easily rip it out before going to production. My 2 cents, -Alex On 1/13/17, 5:53 AM, "Christofer Dutz" wrote: >Hi, > >I am currently writing some unit-tests for the Examples and encountered >someth

[FlexJS] [Discuss] Add support for "automationName" for making unit-tests simpler

2017-01-13 Thread Christofer Dutz
Hi, I am currently writing some unit-tests for the Examples and encountered something I would like to discuss with you. For example, in FlexJSStore the search field doesn’t have an id so it is not very simple to select the field. I could simply give the field an id, but I remembered in the old