Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump com.codeborne:selenide from 7.0.0 to 7.0.3 #183

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion primeui-tester/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide</artifactId>
<version>7.0.0</version>
<version>7.0.3</version>

<!-- to prevent error logs when executing IvyTest and IvyProcessTest and having primeui-tester dependency in same test project -->
<exclusions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

import org.openqa.selenium.By;

import com.codeborne.selenide.CollectionCondition;
import com.codeborne.selenide.ElementsCollection;
import com.codeborne.selenide.SelenideElement;
import com.codeborne.selenide.WebDriverRunner;
import com.codeborne.selenide.WebElementsCondition;
import com.codeborne.selenide.impl.WebElementsCollectionWrapper;

public class SelectManyCheckbox {
Expand All @@ -39,7 +39,7 @@ public SelectManyCheckbox(By manyCheckbox) {
}

/**
* @deprecated use {@link #shouldBe(CollectionCondition)} instead, so you will
* @deprecated use {@link #shouldBe(WebElementsCondition)} instead, so you will
* get a screenshot on failure.
* @return checkboxes
*/
Expand All @@ -56,7 +56,7 @@ public List<String> getSelectedCheckboxes() {
* @param condition condition
* @return SelectManyCheckbox
*/
public SelectManyCheckbox shouldBe(CollectionCondition condition) {
public SelectManyCheckbox shouldBe(WebElementsCondition condition) {
var elements = $(By.id(manyCheckboxId)).shouldBe(visible).findAll(".ui-chkbox-box")
.filter(cssClass("ui-state-active"))
.asDynamicIterable().stream().map(e -> e.parent().parent().find("label"))
Expand Down