pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
61 stars 63 forks source link

testSmokeTestForDemoPages is broken #1509

Open Ducasse opened 8 months ago

Ducasse commented 8 months ago
testSmokeTestForDemoPages

    self timeLimit: 1 minute.
    "We could use #shouldnt:raise: but this way give us the stack of the error"
    SpDemoPage availablePages do: [ :demoPage | 
        [ 
        [ window := demoPage new open ]
            on: Error
            do: [ :e | 
                self fail: 'Broken demo page: ' , demoPage asString , '

' , e signalerContext shortStack ] ] ensure: [ 
            window ifNotNil: #close ] ]

Capture 2024-01-21 at 16 03 51

estebanlm commented 8 months ago

can't reproduce it :(