Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6494

FindBarTest.configuredOrderIsRespected is shaky

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.6
    • None
    • admincentral
    • None

      FindBarTest.configuredOrderIsRespected sometimes fails with

      Wanted but not invoked:
      searchResultsGrid.setSearchResults(
          (a collection containing hasProperty("supplierName", is "bar") and a collection containing hasProperty("supplierName", is "third one") and a collection containing hasProperty("supplierName", is "foo")),
          "meaning in life"
      );
      -> at info.magnolia.admincentral.findbar.FindBarTest.configuredOrderIsRespected(FindBarTest.java:390)
      
      However, there were other interactions with this mock:
      searchResultsGrid.clear();
      -> at info.magnolia.admincentral.findbar.FindBar.search(FindBar.java:520)
      
      searchResultsGrid.dropSelection();
      -> at info.magnolia.admincentral.findbar.FindBar.search(FindBar.java:521)
      
      searchResultsGrid.setCurrentAppSupplier(
          null
      );
      -> at info.magnolia.admincentral.findbar.FindBar.updateCurrentSupplier(FindBar.java:581)
      
      searchResultsGrid.addStyleName("loading");
      -> at info.magnolia.admincentral.findbar.FindBar.search(FindBar.java:562)
      

        Acceptance criteria

              rkovarik Roman Kovařík
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1.05h
                  1.05h