Sorted! I figured out from this post: http://comments.gmane.org/gmane.comp.java.tapestry.user/81653
that I needed to specify the full path of my project i.e. *PageTester(appPackage, appName, "web/src/main/webapp");* instead of *PageTester(appPackage, appName, "src/main/webapp");* Because my project is a multi module maven project. Very odd... Regards, Julien. 2011/7/20 Julien Martin <bal...@gmail.com> > Hello Nillehammer, > No. The problem does not occur when I run the app from the browser and does > occur when I run the tests. Changing to "context:style etc." did not sort > the problem. > Any other idea? > J. > > > 2011/7/20 nillehammer <tapestry.nilleham...@winfonet.eu> > >> Hi Julien, >> >> > @Import(stylesheet = "context:/style/style.css") >> That's a typo leave out the leading slash after the colon, i.e. >> "context:style/style.css" >> >> Regards nillehammer >> >> ----- >> http://www.winfonet.eu >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Stylesheet-in-layout-component-causes-my-tests-to-fail-tp4616463p4616558.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >