openDriverForPage("page-for-component-specs.html");
PageSpec pageSpec = new PageSpecReader(EMPTY_PROPERTIES, new SeleniumBrowser(driver)).read(getClass().getResource("/specs/components/spec-for-component-test-main.spec").getFile());
driver.manage().window().setSize(new Dimension(1000, 800));
SeleniumPage page = new SeleniumPage(driver);
TestValidationListener validationListener = new TestValidationListener();
List<PageSection> pageSections = pageSpec.getSections();
assertThat("Filtered sections size should be", pageSections.size(), is(1));