java.lang.IllegalStateException: Using soft asserts, but without @SoftAsserts annotation

GitHub | asolntsev | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 302#237692353

    GitHub | 9 months ago | asolntsev
    java.lang.IllegalStateException: Using soft asserts, but without @SoftAsserts annotation

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Using soft asserts, but without @SoftAsserts annotation

      at com.codeborne.selenide.logevents.ErrorsCollector.validateAssertionMode()
    2. com.codeborne.selenide
      ElementsCollection.shouldHave
      1. com.codeborne.selenide.logevents.ErrorsCollector.validateAssertionMode(ErrorsCollector.java:45)
      2. com.codeborne.selenide.ElementsCollection.should(ElementsCollection.java:54)
      3. com.codeborne.selenide.ElementsCollection.shouldHave(ElementsCollection.java:50)
      3 frames