Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Seaside development toolbar is not automatically hidden when running tests #6

Open
jecisc opened this issue Mar 30, 2017 · 3 comments

Comments

@jecisc
Copy link
Member

jecisc commented Mar 30, 2017

I got a problem because the dev toolbar of Seaside caught an event of an element behind it. Would be cool to disable it for the test app.

@jbrichau
Copy link
Member

Hi Cyril,

Have you tried to override the configureTestApp: method on your testcase class with something like the following?

configureTestApp: testApp
  super configureTestApp: testApp.
  testApp 
    preferenceAt: #rootDecorationClasses put: #()

@jecisc
Copy link
Member Author

jecisc commented Mar 30, 2017

I did it in my test class but I think it should be done by default by Parasol.

@Rinzwind Rinzwind changed the title Remove dev toolbar during tests The Seaside development toolbar is not automatically hidden when running tests Mar 30, 2017
@Rinzwind
Copy link
Member

As I did with issue #7, I have also reformulated the title of this issue to highlight the issue rather than the feature idea.

I am wondering though, whether the real issue here is not that Seaside puts the development toolbar there by default. It seems rather odd to me that the development toolbar is something that you need to explicitly turn off rather than explicitly turn on. Should the default in Seaside not be to not have a development toolbar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants