Beispiel #1
0
 @Test
 @Stories("по дате загрузки")
 @Severity(value = SeverityLevel.NORMAL)
 public void statByOffersloadDateTest() throws Exception {
   stat.clickByLoadDate();
   spin.waitSpinner();
   stat.checkHighchartsContainner();
   stat.checkTable();
 }
Beispiel #2
0
  @Test
  @Stories("календарь - сравнение сегодня вчера ")
  @Severity(value = SeverityLevel.NORMAL)
  public void statByOffersCalendarConpareTest() throws Exception {

    stat.setCalendarCompareDate();
    spin.waitSpinner();
    Assertions.checkWebElementExists(stat.getCompareDiv());
    Assertions.checkWebElementVisible(stat.getCompareDiv());
    stat.checkHighchartsContainner();
    stat.checkTable();
  }
Beispiel #3
0
  @Test
  @Stories("календарь - за сегодня")
  @Severity(value = SeverityLevel.NORMAL)
  public void statByOffersCalendarTest() throws Exception {

    stat.setCalendarDate();
    spin.waitSpinner();
    stat.checkHighchartsContainner();
    stat.checkTable();
    String period = stat.getPeriod();
    String javaPeriod = utils.getCurrentDate();
    Assertions.assertObjectsEquals(period, javaPeriod + " - " + javaPeriod);
  }
Beispiel #4
0
 @BeforeMethod
 public void waitPageLoad() {
   stat.waitOverview();
   spin.waitSpinner();
 }