Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ public void dialogWithOpenedChangeListener() {
eventCounterMessage.getText());
Assert.assertEquals("The event came from server",
eventSourceMessage.getText());

findElement(By.id("dialog-open")).click();
checkDialogIsOpened();
executeScript("arguments[0].opened = false",
findElement(By.id("dialog")));
Assert.assertEquals("The event came from client",
eventSourceMessage.getText());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import com.vaadin.flow.component.HasSize;
import com.vaadin.flow.component.HasStyle;
import com.vaadin.flow.component.Shortcuts;
import com.vaadin.flow.component.Synchronize;
import com.vaadin.flow.component.Tag;
import com.vaadin.flow.component.UI;
import com.vaadin.flow.component.dependency.JsModule;
Expand Down Expand Up @@ -951,7 +950,6 @@ private void doSetOpened(boolean opened, boolean fromClient) {
*
* @return the {@code opened} property from the dialog
*/
@Synchronize(property = "opened", value = "opened-changed", allowInert = true)
public boolean isOpened() {
return getElement().getProperty("opened", false);
}
Expand Down