Ejemplo n.º 1
0
  @Test
  public void testFindAllCategories() {
    Sale selectedSale = chooseASale("mcs");

    long start = System.currentTimeMillis();
    List<Category> categories = findAllCategoriesOfSelectedSale(selectedSale);
    System.out.println(System.currentTimeMillis() - start);
  }
Ejemplo n.º 2
0
  @Test
  public void testFindAllArticles() {
    Sale selectedSale = chooseASale("mcs");

    Category selectedCategory = chooseACategory(selectedSale);
    System.out.println(selectedCategory);

    SubCategory subCategory = chooseASubCategory(selectedCategory);
    System.out.println(subCategory);

    long start = System.currentTimeMillis();
    findAllArticlesInSubCategory(driver, subCategory, context);
    System.out.println(System.currentTimeMillis() - start);
  }