Search in sources :

Example 1 with ProjectDashboardPage

use of pageobjects.ProjectDashboardPage in project sonarqube by SonarSource.

the class ProjectDashboardTest method display_size.

@Test
public void display_size() {
    executeBuild("shared/xoo-sample", "sample", "Sample");
    Navigation nav = Navigation.get(orchestrator);
    ProjectDashboardPage page = nav.openProjectDashboard("sample");
    page.getLinesOfCode().should(hasText("13"));
    page.getLanguageDistribution().should(hasText("Xoo"), hasText("13"));
}
Also used : Navigation(pageobjects.Navigation) ProjectDashboardPage(pageobjects.ProjectDashboardPage) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Navigation (pageobjects.Navigation)1 ProjectDashboardPage (pageobjects.ProjectDashboardPage)1