I'm working on an application that has a custom look and feel. For GUI testing, I am using FEST-Swing. Currently, the GUI tests are running with the default java look and feel. Because of this, some tests are failing, but should I consider this to be a bug in the GUI, or test using my custom look and feel?
Later edit:
Thank you Andrew Tompson for the quick answer. But the issue I think still remains, because of the way the flow layout works. Here's a mockup of what happens:
The standard LAF uses a bigger font than the one I am using, and this causes one of the buttons to get out of the layout. And I can't use pack(), since there's a size requirement for that container. If you didn't call frame.pack() in that example, I think you would have the same issue.