Anyone got Albatross working to test with current Seaside?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

Anyone got Albatross working to test with current Seaside?

Sophie424
If not, what alternatives should I look at (preferably that will exercise
through Ajax-ish stuff on the browser)?

Thanks - Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Anyone got Albatross working to test with current Seaside?

Adrian Lienhard
Hi Sophie,

Its on my todo list to make Albatross work again.
I don't know of further approaches to scripting UI tests other than  
the non-Smalltalk ones. For example Selenium (http://www.openqa.org/selenium/ 
), which in addition to Albatross, provides a recording feature. I  
don't know how well it works with Seaside's automatically generated  
URLs, though.

Adrian

On Dec 27, 2007, at 11:11 , itsme213 wrote:

> If not, what alternatives should I look at (preferably that will  
> exercise
> through Ajax-ish stuff on the browser)?
>
> Thanks - Sophie
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Anyone got Albatross working to test with currentSeaside?

Sophie424
Thanks Adrian, I really look forward to it. I think having a strong testing
story would be a big plus for Seaside.

For now, I tried SeasideTesting and had problems getting it to load.

Sophie

"Adrian Lienhard" <[hidden email]> wrote in message
news:[hidden email]...

> Hi Sophie,
>
> Its on my todo list to make Albatross work again.
> I don't know of further approaches to scripting UI tests other than  the
> non-Smalltalk ones. For example Selenium
> (http://www.openqa.org/selenium/ ), which in addition to Albatross,
> provides a recording feature. I  don't know how well it works with
> Seaside's automatically generated  URLs, though.
>
> Adrian
>
> On Dec 27, 2007, at 11:11 , itsme213 wrote:
>
>> If not, what alternatives should I look at (preferably that will
>> exercise
>> through Ajax-ish stuff on the browser)?
>>
>> Thanks - Sophie
>>



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Anyone got Albatross working to test with currentSeaside?

cdavidshaffer
itsme213 wrote:
> Thanks Adrian, I really look forward to it. I think having a strong testing
> story would be a big plus for Seaside.
>
> For now, I tried SeasideTesting and had problems getting it to load.
>
> Sophie
>  
What problems?  I am happy to help sort out compatibility issues.  There
are maintained SeasideTesting versions that work with many different
combinations of Squeak and Seaside.  Let me know what versions you're
using and what problems you had and I'm sure we can sort it out.

David

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Anyone got Albatross working to testwith currentSeaside?

Sophie424

"C. David Shaffer" <[hidden email]> wrote in message
>> For now, I tried SeasideTesting and had problems getting it to load.
>>
>> Sophie
>>
> What problems?

Hmm. I just tried it again on a new image and it loaded flawlessly.

Any suggestions on how to deal with the Ajax/SUxyz parts of my design with
SeasideTesting? I did not find examples of this.

Thanks - Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Anyone got Albatross working totestwith currentSeaside?

Sophie424

"itsme213" <[hidden email]> wrote in message
> Any suggestions on how to deal with the Ajax/SUxyz parts of my design with
> SeasideTesting? I did not find examples of this.

Even with Ajax, I keep most of my updates at the level of components (or
sub-components), in case that helps.



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Anyone got Albatross working totestwith currentSeaside?

cdavidshaffer
itsme213 wrote:
> "itsme213" <[hidden email]> wrote in message
>  
>> Any suggestions on how to deal with the Ajax/SUxyz parts of my design with
>> SeasideTesting? I did not find examples of this.
>>    
>
> Even with Ajax, I keep most of my updates at the level of components (or
> sub-components), in case that helps.
Not at the moment.  ST has no support for Javascript or Ajax requests.  
I had started an effort to integrate it with selenium but it was never a
priority.  Ultimately some combination of ST and Albatross might be the
solution but that doesn't help  you now.  Sorry.

David

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Anyone got Albatross working to testwith currentSeaside?

Sophie424
In reply to this post by cdavidshaffer

"C. David Shaffer" <[hidden email]> wrote in message
> What problems?

See below. I tried to install it into Ramon's image which is based on
Damien's current 3.9. Got an error during installation after a bunch of
"undeclared" warnings on Transcript. Aborted, then installed again and this
time it installed OK, but running the example tests have an error.

Below are both errors.

Any ideas? Does SeasideTesting assume a URL that includes
"..../seaside/..."; or a port? These have been modified in my work.

- Sophie


==== Installation Error ===============
VM: Win32 - a SmalltalkImage
Image: Squeak3.9 [latest update: #7067]

WADispatcherEditor class(Object)>>doesNotUnderstand: #addPlugin:
 Receiver: WADispatcherEditor
 Arguments and temporary variables:
  aMessage:  addPlugin: SCTestRunner
 Receiver's instance variables:
  superclass:  WADispatcherComponent
  methodDict:  a MethodDictionary(#addEntryPoint->a CompiledMethod (1577)
#clearCa...etc...
  format:  138
  instanceVariables:  #('name' 'type')
  organization:  ('accessing' entryPointClasses)
('actions' addEntryPoint clearCac...etc...
  subclasses:  nil
  name:  #WADispatcherEditor
  classPool:  nil
  sharedPools:  nil
  environment:  a SystemDictionary(lots of globals)
  category:  #'Seaside-Components-Tools'
  traitComposition:  nil
  localSelectors:  nil

SCTestRunner class>>initialize
 Receiver: SCTestRunner
 Arguments and temporary variables:

 Receiver's instance variables:
  superclass:  WAComponent
  methodDict:  a MethodDictionary(#initializeForCase:->a CompiledMethod
(932) #ren...etc...
  format:  136
  instanceVariables:  #('case' 'result')
  organization:  ('initialization' initializeForCase: runTests:)
('rendering' rend...etc...
  subclasses:  nil
  name:  #SCTestRunner
  classPool:  nil
  sharedPools:  nil
  environment:  a SystemDictionary(lots of globals)
  category:  #'SeasideTesting-TestRunner'
  traitComposition:  nil
  localSelectors:  nil

MCMethodDefinition>>postload
 Receiver: a MCMethodDefinition(SCTestRunner class>>initialize)
 Arguments and temporary variables:

 Receiver's instance variables:
  classIsMeta:  true
  source:  'initialize
 "self initialize"
 super initialize.
 WADispatcherEditor a...etc...
  category:  #'class initialization'
  selector:  #initialize
  className:  #SCTestRunner
  timeStamp:  'cds 9/24/2006 11:24'

MCMethodDefinition(MCDefinition)>>postloadOver:
 Receiver: a MCMethodDefinition(SCTestRunner class>>initialize)
 Arguments and temporary variables:
  aDefinition:  nil
 Receiver's instance variables:
  classIsMeta:  true
  source:  'initialize
 "self initialize"
 super initialize.
 WADispatcherEditor a...etc...
  category:  #'class initialization'
  selector:  #initialize
  className:  #SCTestRunner
  timeStamp:  'cds 9/24/2006 11:24'


--- The full stack ---
WADispatcherEditor class(Object)>>doesNotUnderstand: #addPlugin:
SCTestRunner class>>initialize
MCMethodDefinition>>postload
MCMethodDefinition(MCDefinition)>>postloadOver:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[] in MCPackageLoader>>basicLoad {[:ea | ea   postloadOver: (self
obsoletionFor: ea)]}
[] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
{[:each :i |  bar value: i.  aBlock value: each]}
OrderedCollection(SequenceableCollection)>>withIndexDo:
[] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
{[:bar | self   withIndexDo: [:each :i |     bar value: i.    aBlock value:
e...]}
[] in ProgressInitiationException>>defaultMorphicAction {[result :=
workBlock value: progress]}
BlockContext>>ensure:
ProgressInitiationException>>defaultMorphicAction
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
OrderedCollection(SequenceableCollection)>>do:displayingProgress:
[] in MCPackageLoader>>basicLoad {[additions   do: [:ea | self tryToLoad:
ea]   displayingProgress: 'Loading.....]}
BlockContext>>on:do:
[] in MCPackageLoader>>basicLoad {[[additions   do: [:ea | self tryToLoad:
ea]   displayingProgress: 'Loading....]}
BlockContext>>ensure:
MCPackageLoader>>basicLoad
[] in MCPackageLoader>>loadWithNameLike: {[self basicLoad]}
[] in MCPackageLoader>>useChangeSetNamed:during: {[aBlock value]}
BlockContext>>ensure:
MCPackageLoader>>useChangeSetNamed:during:
MCPackageLoader>>useNewChangeSetNamedLike:during:
...etc...

========================
===== Example Test Error ================

VM: Win32 - a SmalltalkImage
Image: Squeak3.9 [latest update: #7067]

UndefinedObject(Object)>>doesNotUnderstand: #contents
 Receiver: nil
 Arguments and temporary variables:
  aMessage:  contents
 Receiver's instance variables:
nil

SCRunnerTask(WAComponent)>>decoration
 Receiver: a SCRunnerTask
 Arguments and temporary variables:

 Receiver's instance variables:
  decoration:  nil
  componentClass:  SCAnchorDemo
  initializationBlock:  nil
  createComponentBlock:  nil
  answerChecker:  nil
  checker:  nil
  component:  nil

SCRunnerTask(WAComponent)>>decorationChainDo:
 Receiver: a SCRunnerTask
 Arguments and temporary variables:
  aBlock:  [] in SCRunnerTask(WAComponent)>>visiblePresentersDo: {[:ea | ea
withNe...etc...
 Receiver's instance variables:
  decoration:  nil
  componentClass:  SCAnchorDemo
  initializationBlock:  nil
  createComponentBlock:  nil
  answerChecker:  nil
  checker:  nil
  component:  nil

SCRunnerTask(WAComponent)>>visiblePresentersDo:
 Receiver: a SCRunnerTask
 Arguments and temporary variables:
  aBlock:  [] in WARenderContinuation(WASessionContinuation)>>updateUrl:
{[:each |...etc...
  ea:  nil
 Receiver's instance variables:
  decoration:  nil
  componentClass:  SCAnchorDemo
  initializationBlock:  nil
  createComponentBlock:  nil
  answerChecker:  nil
  checker:  nil
  component:  nil


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #contents
SCRunnerTask(WAComponent)>>decoration
SCRunnerTask(WAComponent)>>decorationChainDo:
SCRunnerTask(WAComponent)>>visiblePresentersDo:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
WARenderContinuation(WASessionContinuation)>>updateUrl:
WARenderContinuation(WASessionContinuation)>>url
WARenderContinuation>>newContext
WARenderContinuation>>render
[] in WARenderContinuation>>run {[self render]}
BlockContext>>on:do:
WARenderContinuation>>withNotificationHandler:
WARenderContinuation>>run
SCRenderLoop(WARenderLoop)>>run
SCTestingPseudomain>>start:
WASession>>start:
[] in WASession>>performRequest: {[^ self start: aRequest]}
Dictionary>>at:ifAbsent:
WASession>>performRequest:
[] in WASession>>responseForRequest: {[self performRequest: aRequest]}
BlockContext>>on:do:
[] in WASession>>withErrorHandler: {[aBlock   on: Error   do: [:e |     self
errorHandler handleError: e.    WAP...]}
BlockContext>>on:do:
WASession>>withErrorHandler:
[] in WASession>>responseForRequest: {[self   withErrorHandler: [self
performRequest: aRequest]]}
BlockContext>>on:do:
WACurrentSession class(WADynamicVariable class)>>use:during:
[] in WASession>>responseForRequest: {[WACurrentSession   use: self
during: [self     withErrorHandler: [self pe...]}
[] in WASession>>withEscapeContinuation: {[:cc |  escapeContinuation := cc.
aBlock value.  self pageIntentionallyLeft...]}
EscapeContinuation class(Continuation class)>>currentDo:
WASession>>withEscapeContinuation:
WASession>>responseForRequest:
[] in WASession>>incomingRequest: {[self responseForRequest: aRequest]}
BlockContext>>on:do:
[] in WAProcessMonitor>>critical:ifError: {[value := aBlock on: Error do:
anErrorBlock]}
BlockContext>>ensure:
[] in WAProcessMonitor>>critical:ifError: {[[value := aBlock on: Error do:
anErrorBlock]   ensure: [semaphore signal]]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Anyone got Albatross working to testwith currentSeaside?

cdavidshaffer
Try loading the latest "R1.5" version on SqueakSource.  It works fine
for me in the "dev" and "web" images:

MCHttpRepository
    location: 'http://www.squeaksource.com/SeasideTesting'
    user: 'cds'
    password: ''




David

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

SeasideTesting + Ramon's image (was: Re: Anyone got Albatross workingto test with currentSeaside?)

Sophie424
"C. David Shaffer" <[hidden email]> wrote in message
> Try loading the latest "R1.5" version on SqueakSource.  It works fine >
> for me in the "dev" and "web" images:

Thanks, I did try this and it worked fine. I'm using Ramon's image, tho, I
cannot get it to run the SeasideTesting examples in that image. Not sure of
the cause, but that image uses a subclass of WAKom which appears to disable
WAKom & does the following. Let me know if you see some cause I might be
able to work around.

WAKomEncoded39 subclass: #SSKom
 instanceVariableNames: ''
 classVariableNames: ''
 poolDictionaries: ''
 category: 'SentorsaSeaside'!
!SSKom commentStamp: '<historical>' prior: 0!
SSKom startOn: 80.!


"-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- "!

SSKom class
 instanceVariableNames: ''!

!SSKom class methodsFor: 'service' stamp: 'rjl 10/10/2007 11:49'!
initialize
 Smalltalk removeFromStartUpList: WAKom.
 Smalltalk removeFromShutDownList: WAKom.
 Smalltalk addToStartUpList: self after: AutoStart.
 Smalltalk addToShutDownList: self! !

!SSKom class methodsFor: 'service' stamp: 'rjl 12/11/2006 10:19'!
startOn: aPort
 self stop.
 super startOn: aPort.
 "killing keepAlives prevents proxy errors when uploading files"
 HttpService allInstancesDo: [:each | each keepAlive: false].
 Smalltalk garbageCollectMost! !

!SSKom class methodsFor: 'service' stamp: 'rjl 12/11/2006 10:17'!
stop
 "Kill all existing HTTP servers"

 super stop.
 HttpService allInstancesDo:
   [:each |
   each
    stop;
    waitForStop;
    unregister.
   Smalltalk garbageCollectMost]! !


SSKom initialize!



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: SeasideTesting + Ramon's image

cdavidshaffer
itsme213 wrote:

> "C. David Shaffer" <[hidden email]> wrote in message
>  
>> Try loading the latest "R1.5" version on SqueakSource.  It works fine >
>> for me in the "dev" and "web" images:
>>    
>
> Thanks, I did try this and it worked fine. I'm using Ramon's image, tho, I
> cannot get it to run the SeasideTesting examples in that image. Not sure of
> the cause, but that image uses a subclass of WAKom which appears to disable
> WAKom & does the following. Let me know if you see some cause I might be
> able to work around.
>  
I tried Ramon's image "out of the box" and all tests ran and passed.  In
response to an earlier e-mail I also configured SSKom to use url's
without /seaside in them:

SSKom allInstances do:
    [:each | (each instVarNamed: #entryPoint) setName: '']

(verified in a browser that url's didn't contain /seaside).  All tests
pass.  Ran the tests using the "testRunner" web app.  All tests passed.  
Maybe there is something else in your configuration that is causing this
problem?

It might be worthwhile to start from Ramon's image, load ST and verify
that things are passing then load your code in stages until the tests fail.

David

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: SeasideTesting + Ramon's image

Sophie424
Hmmm. I must be doing something _really_ dumb. Even for me.

"C. David Shaffer" <[hidden email]> wrote in message
> I tried Ramon's image "out of the box" and all tests ran and passed.

I just re-did exactly this sequence:
- Downloaded the image from http://onsmalltalk.com/my-squeak-image/
- Started it up in pristine state (none of my code)
- Opened SqueakMap
- Ran a squeakMap Update (so 1.5 and 1.5.1 shows up)
- Installed SeasideTesting 1.5 without any errors
- Opened TestRunner
- Selected all SeasideTesting-Examples
- Ran them all
- Got a red bar with 32 errors

Re-did the above with SSKom started, re-did again after running your
#setName: snippet, re-did with 1.5.1: same result.

Confusedly - Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: SeasideTesting + Ramon's image

cdavidshaffer
itsme213 wrote:
> Hmmm. I must be doing something _really_ dumb. Even for me.
>
>  
:-)  No, nothing dumb.  The problem is that the SqueakMap version isn't
the most recent...well, that's not quite right.  What I mean to say is
that I'm not sure which version of squeak/seaside works with it.  Please
load SeasideTesting from SqueakSource if you want to run against Seaside
2.8 or any of the "dev" images (or Ramon's image).  If this works for
you I'll update the SqueakMap entry.

David

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: SeasideTesting + Ramon's image

Sophie424

"C. David Shaffer" <[hidden email]> wrote in message
> :-)  No, nothing dumb.  The problem is that the SqueakMap version
> isn't the most recent

Got the squeakSource, worked like a charm. I got thrown off by SqueakMap
having the 1.5 version number you recommended.

Thanks!

Sophie



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Anyone got Albatross working to test with currentSeaside?

Adrian Lienhard
In reply to this post by Sophie424
There's a new Albatross version available now.
I have tested it with Seaside 2.8, on OS X with Safari and Firefox and  
on Win XP with MSIE 7.

For further instructions see http://squeaksource.com/Albatross.html

Cheers,
Adrian

PS: thanks Philippe and Lukas for their help to make the driver code  
independent of Kom. This should also make Albatross much simpler to  
port to other dialects.


On Dec 31, 2007, at 07:49 , itsme213 wrote:

> Thanks Adrian, I really look forward to it. I think having a strong  
> testing
> story would be a big plus for Seaside.
>
> For now, I tried SeasideTesting and had problems getting it to load.
>
> Sophie
>
> "Adrian Lienhard" <[hidden email]> wrote in message
> news:[hidden email]...
>> Hi Sophie,
>>
>> Its on my todo list to make Albatross work again.
>> I don't know of further approaches to scripting UI tests other  
>> than  the
>> non-Smalltalk ones. For example Selenium
>> (http://www.openqa.org/selenium/ ), which in addition to Albatross,
>> provides a recording feature. I  don't know how well it works with
>> Seaside's automatically generated  URLs, though.
>>
>> Adrian
>>
>> On Dec 27, 2007, at 11:11 , itsme213 wrote:
>>
>>> If not, what alternatives should I look at (preferably that will
>>> exercise
>>> through Ajax-ish stuff on the browser)?
>>>
>>> Thanks - Sophie
>>>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Anyone got Albatross working to test withcurrentSeaside?

Sophie424
"Adrian Lienhard" <[hidden email]> wrote

> There's a new Albatross version available now.
Thanks. I just tried it (XP, damien 3.9 dev image, FF) and got a walkback on
the included tests. Some pre-req I am missing perhaps? Do I need to
configure it to use IE?

Thanks - Sophie

-===============================

VM: Win32 - a SmalltalkImage
Image: Squeak3.9 [latest update: #7067]

UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
 Receiver: nil
 Arguments and temporary variables:
  aMessage:  openOnUrl: 'http://localhost:8080/seaside/albatross'
 Receiver's instance variables:
nil

ABrowser>>open
 Receiver: an ABrowser
 Arguments and temporary variables:

 Receiver's instance variables:
  inQueue:  a SharedQueue
  outQueue:  a SharedQueue
  applicationUrl:  'http://localhost:8080/seaside/albatross'
  driverUrl:  'http://localhost:8080/seaside/driver'
  resultType:  nil

AScriptaculousTest(ATestCase)>>setUp
 Receiver: AScriptaculousTest>>#testCounter
 Arguments and temporary variables:
  handler:  an ARequestHandler named: 'driver'
 Receiver's instance variables:
  testSelector:  #testCounter
  browser:  an ABrowser
  testComponent:  nil

[] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
performTest]}
 Arguments and temporary variables:


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
ABrowser>>open
AScriptaculousTest(ATestCase)>>setUp
[] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
performTest]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BlockContext>>ensure:
AScriptaculousTest(TestCase)>>runCase
[] in AScriptaculousTest(TestCase)>>debug {[(self class selector:
testSelector) runCase]}
BlockContext>>ensure:
AScriptaculousTest(TestCase)>>debug
[] in TestRunner>>debugSuite: {[:each | each debug]}
OrderedCollection>>do:
[] in TestRunner>>basicRunSuite:do: {[aTestSuite name isEmptyOrNil   ifTrue:
[aTestSuite tests do: aBlock]   ifFa...]}
BlockContext>>ensure:
TestRunner>>basicRunSuite:do:
TestRunner>>debugSuite:
TestRunner>>debug:
TestRunner>>errorSelected:
PluggableListMorphPlus(PluggableListMorph)>>changeModelSelection:
PluggableListMorphPlus(PluggableListMorph)>>mouseUp:
PluggableListMorphPlus(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
PluggableListMorphPlus(Morph)>>handleEvent:
PluggableListMorphPlus(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent
:= anEvent.  result := focusHolder     han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h
processEvents.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor yield.
false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Anyone got Albatross working to test withcurrentSeaside?

Philippe Marschall
You miss on of the prerequisites: ExternalWebBrowser.

Cheers
Philippe

2008/1/10, itsme213 <[hidden email]>:

> "Adrian Lienhard" <[hidden email]> wrote
>
> > There's a new Albatross version available now.
> Thanks. I just tried it (XP, damien 3.9 dev image, FF) and got a walkback on
> the included tests. Some pre-req I am missing perhaps? Do I need to
> configure it to use IE?
>
> Thanks - Sophie
>
> -===============================
>
> VM: Win32 - a SmalltalkImage
> Image: Squeak3.9 [latest update: #7067]
>
> UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
>  Receiver: nil
>  Arguments and temporary variables:
>   aMessage:  openOnUrl: 'http://localhost:8080/seaside/albatross'
>  Receiver's instance variables:
> nil
>
> ABrowser>>open
>  Receiver: an ABrowser
>  Arguments and temporary variables:
>
>  Receiver's instance variables:
>   inQueue:  a SharedQueue
>   outQueue:  a SharedQueue
>   applicationUrl:  'http://localhost:8080/seaside/albatross'
>   driverUrl:  'http://localhost:8080/seaside/driver'
>   resultType:  nil
>
> AScriptaculousTest(ATestCase)>>setUp
>  Receiver: AScriptaculousTest>>#testCounter
>  Arguments and temporary variables:
>   handler:  an ARequestHandler named: 'driver'
>  Receiver's instance variables:
>   testSelector:  #testCounter
>   browser:  an ABrowser
>   testComponent:  nil
>
> [] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
> performTest]}
>  Arguments and temporary variables:
>
>
> --- The full stack ---
> UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
> ABrowser>>open
> AScriptaculousTest(ATestCase)>>setUp
> [] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
> performTest]}
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> BlockContext>>ensure:
> AScriptaculousTest(TestCase)>>runCase
> [] in AScriptaculousTest(TestCase)>>debug {[(self class selector:
> testSelector) runCase]}
> BlockContext>>ensure:
> AScriptaculousTest(TestCase)>>debug
> [] in TestRunner>>debugSuite: {[:each | each debug]}
> OrderedCollection>>do:
> [] in TestRunner>>basicRunSuite:do: {[aTestSuite name isEmptyOrNil   ifTrue:
> [aTestSuite tests do: aBlock]   ifFa...]}
> BlockContext>>ensure:
> TestRunner>>basicRunSuite:do:
> TestRunner>>debugSuite:
> TestRunner>>debug:
> TestRunner>>errorSelected:
> PluggableListMorphPlus(PluggableListMorph)>>changeModelSelection:
> PluggableListMorphPlus(PluggableListMorph)>>mouseUp:
> PluggableListMorphPlus(Morph)>>handleMouseUp:
> MouseButtonEvent>>sentTo:
> PluggableListMorphPlus(Morph)>>handleEvent:
> PluggableListMorphPlus(Morph)>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent
> := anEvent.  result := focusHolder     han...]}
> [] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
> BlockContext>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendMouseEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h
> processEvents.  capturingGesture := capturingGest...]}
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor yield.
> false] whileFalse.  nil]}
> [] in BlockContext>>newProcess {[self value.  Processor terminateActive]}
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Anyone got Albatross working to test withcurrentSeaside?

Adrian Lienhard
On Jan 10, 2008, at 06:59 , Philippe Marschall wrote:

> You miss on of the prerequisites: ExternalWebBrowser.

Right, and ExternalWebBrowser again has dependencies on other  
packages. But as said in my previous mail, I documented this in the  
project description on SqueakSource: http://www.squeaksource.com/Albatross.html

Adrian

>
>
> Cheers
> Philippe
>
> 2008/1/10, itsme213 <[hidden email]>:
>> "Adrian Lienhard" <[hidden email]> wrote
>>
>>> There's a new Albatross version available now.
>> Thanks. I just tried it (XP, damien 3.9 dev image, FF) and got a  
>> walkback on
>> the included tests. Some pre-req I am missing perhaps? Do I need to
>> configure it to use IE?
>>
>> Thanks - Sophie
>>
>> -===============================
>>
>> VM: Win32 - a SmalltalkImage
>> Image: Squeak3.9 [latest update: #7067]
>>
>> UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
>> Receiver: nil
>> Arguments and temporary variables:
>>  aMessage:  openOnUrl: 'http://localhost:8080/seaside/albatross'
>> Receiver's instance variables:
>> nil
>>
>> ABrowser>>open
>> Receiver: an ABrowser
>> Arguments and temporary variables:
>>
>> Receiver's instance variables:
>>  inQueue:  a SharedQueue
>>  outQueue:  a SharedQueue
>>  applicationUrl:  'http://localhost:8080/seaside/albatross'
>>  driverUrl:  'http://localhost:8080/seaside/driver'
>>  resultType:  nil
>>
>> AScriptaculousTest(ATestCase)>>setUp
>> Receiver: AScriptaculousTest>>#testCounter
>> Arguments and temporary variables:
>>  handler:  an ARequestHandler named: 'driver'
>> Receiver's instance variables:
>>  testSelector:  #testCounter
>>  browser:  an ABrowser
>>  testComponent:  nil
>>
>> [] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
>> performTest]}
>> Arguments and temporary variables:
>>
>>
>> --- The full stack ---
>> UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
>> ABrowser>>open
>> AScriptaculousTest(ATestCase)>>setUp
>> [] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
>> performTest]}
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> BlockContext>>ensure:
>> AScriptaculousTest(TestCase)>>runCase
>> [] in AScriptaculousTest(TestCase)>>debug {[(self class selector:
>> testSelector) runCase]}
>> BlockContext>>ensure:
>> AScriptaculousTest(TestCase)>>debug
>> [] in TestRunner>>debugSuite: {[:each | each debug]}
>> OrderedCollection>>do:
>> [] in TestRunner>>basicRunSuite:do: {[aTestSuite name  
>> isEmptyOrNil   ifTrue:
>> [aTestSuite tests do: aBlock]   ifFa...]}
>> BlockContext>>ensure:
>> TestRunner>>basicRunSuite:do:
>> TestRunner>>debugSuite:
>> TestRunner>>debug:
>> TestRunner>>errorSelected:
>> PluggableListMorphPlus(PluggableListMorph)>>changeModelSelection:
>> PluggableListMorphPlus(PluggableListMorph)>>mouseUp:
>> PluggableListMorphPlus(Morph)>>handleMouseUp:
>> MouseButtonEvent>>sentTo:
>> PluggableListMorphPlus(Morph)>>handleEvent:
>> PluggableListMorphPlus(Morph)>>handleFocusEvent:
>> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  
>> ActiveEvent
>> := anEvent.  result := focusHolder     han...]}
>> [] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
>> BlockContext>>on:do:
>> PasteUpMorph>>becomeActiveDuring:
>> HandMorph>>sendFocusEvent:to:clear:
>> HandMorph>>sendEvent:focus:clear:
>> HandMorph>>sendMouseEvent:
>> HandMorph>>handleEvent:
>> HandMorph>>processEvents
>> [] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h
>> processEvents.  capturingGesture := capturingGest...]}
>> Array(SequenceableCollection)>>do:
>> WorldState>>handsDo:
>> WorldState>>doOneCycleNowFor:
>> WorldState>>doOneCycleFor:
>> PasteUpMorph>>doOneCycle
>> [] in Project class>>spawnNewProcess {[[World doOneCycle.  
>> Processor yield.
>> false] whileFalse.  nil]}
>> [] in BlockContext>>newProcess {[self value.  Processor  
>> terminateActive]}
>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Anyone got Albatross working to test withcurrentSeaside?

Philippe Marschall
2008/1/10, Adrian Lienhard <[hidden email]>:
> On Jan 10, 2008, at 06:59 , Philippe Marschall wrote:
>
> > You miss on of the prerequisites: ExternalWebBrowser.
>
> Right, and ExternalWebBrowser again has dependencies on other
> packages. But as said in my previous mail, I documented this in the
> project description on SqueakSource: http://www.squeaksource.com/Albatross.html

People don't read doku.

Cheers
Philippe

> Adrian
>
> >
> >
> > Cheers
> > Philippe
> >
> > 2008/1/10, itsme213 <[hidden email]>:
> >> "Adrian Lienhard" <[hidden email]> wrote
> >>
> >>> There's a new Albatross version available now.
> >> Thanks. I just tried it (XP, damien 3.9 dev image, FF) and got a
> >> walkback on
> >> the included tests. Some pre-req I am missing perhaps? Do I need to
> >> configure it to use IE?
> >>
> >> Thanks - Sophie
> >>
> >> -===============================
> >>
> >> VM: Win32 - a SmalltalkImage
> >> Image: Squeak3.9 [latest update: #7067]
> >>
> >> UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
> >> Receiver: nil
> >> Arguments and temporary variables:
> >>  aMessage:  openOnUrl: 'http://localhost:8080/seaside/albatross'
> >> Receiver's instance variables:
> >> nil
> >>
> >> ABrowser>>open
> >> Receiver: an ABrowser
> >> Arguments and temporary variables:
> >>
> >> Receiver's instance variables:
> >>  inQueue:  a SharedQueue
> >>  outQueue:  a SharedQueue
> >>  applicationUrl:  'http://localhost:8080/seaside/albatross'
> >>  driverUrl:  'http://localhost:8080/seaside/driver'
> >>  resultType:  nil
> >>
> >> AScriptaculousTest(ATestCase)>>setUp
> >> Receiver: AScriptaculousTest>>#testCounter
> >> Arguments and temporary variables:
> >>  handler:  an ARequestHandler named: 'driver'
> >> Receiver's instance variables:
> >>  testSelector:  #testCounter
> >>  browser:  an ABrowser
> >>  testComponent:  nil
> >>
> >> [] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
> >> performTest]}
> >> Arguments and temporary variables:
> >>
> >>
> >> --- The full stack ---
> >> UndefinedObject(Object)>>doesNotUnderstand: #openOnUrl:
> >> ABrowser>>open
> >> AScriptaculousTest(ATestCase)>>setUp
> >> [] in AScriptaculousTest(TestCase)>>runCase {[self setUp.  self
> >> performTest]}
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> BlockContext>>ensure:
> >> AScriptaculousTest(TestCase)>>runCase
> >> [] in AScriptaculousTest(TestCase)>>debug {[(self class selector:
> >> testSelector) runCase]}
> >> BlockContext>>ensure:
> >> AScriptaculousTest(TestCase)>>debug
> >> [] in TestRunner>>debugSuite: {[:each | each debug]}
> >> OrderedCollection>>do:
> >> [] in TestRunner>>basicRunSuite:do: {[aTestSuite name
> >> isEmptyOrNil   ifTrue:
> >> [aTestSuite tests do: aBlock]   ifFa...]}
> >> BlockContext>>ensure:
> >> TestRunner>>basicRunSuite:do:
> >> TestRunner>>debugSuite:
> >> TestRunner>>debug:
> >> TestRunner>>errorSelected:
> >> PluggableListMorphPlus(PluggableListMorph)>>changeModelSelection:
> >> PluggableListMorphPlus(PluggableListMorph)>>mouseUp:
> >> PluggableListMorphPlus(Morph)>>handleMouseUp:
> >> MouseButtonEvent>>sentTo:
> >> PluggableListMorphPlus(Morph)>>handleEvent:
> >> PluggableListMorphPlus(Morph)>>handleFocusEvent:
> >> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.
> >> ActiveEvent
> >> := anEvent.  result := focusHolder     han...]}
> >> [] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
> >> BlockContext>>on:do:
> >> PasteUpMorph>>becomeActiveDuring:
> >> HandMorph>>sendFocusEvent:to:clear:
> >> HandMorph>>sendEvent:focus:clear:
> >> HandMorph>>sendMouseEvent:
> >> HandMorph>>handleEvent:
> >> HandMorph>>processEvents
> >> [] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h
> >> processEvents.  capturingGesture := capturingGest...]}
> >> Array(SequenceableCollection)>>do:
> >> WorldState>>handsDo:
> >> WorldState>>doOneCycleNowFor:
> >> WorldState>>doOneCycleFor:
> >> PasteUpMorph>>doOneCycle
> >> [] in Project class>>spawnNewProcess {[[World doOneCycle.
> >> Processor yield.
> >> false] whileFalse.  nil]}
> >> [] in BlockContext>>newProcess {[self value.  Processor
> >> terminateActive]}
> >>
> >>
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> [hidden email]
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> > _______________________________________________
> > seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Anyone got Albatross working to testwithcurrentSeaside?

Sophie424
In reply to this post by Adrian Lienhard
"Adrian Lienhard" <[hidden email]> wrote
> Right, and ExternalWebBrowser again has dependencies on other  packages.
> But as said in my previous mail, I documented this in the  project
> description on SqueakSource:

Guilty as charged :) I had ExternalWebBrowser set up in an earlier image,
then upgraded the image and forgot that I would (of course) lose it.

Sophie

p.s. Have not yet figured out how to retain my image customizations when I
upgrade, miss those config files sometimes... will LPF help? Where and how
do I keep my customizations?



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside