Skip to content
Open
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 @@ -256,6 +256,7 @@ public InputStream getStream() {
localeSelect = new NativeSelect<>();
localeSelect.setWidth("200px");
localeSelect.setId("localeSelect");
localeSelect.getDataCommunicator().setMaximumAllowedRows(1000);

final List<Locale> locales = Arrays
.asList(Locale.getAvailableLocales());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import static org.junit.Assert.assertEquals;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;

import com.vaadin.addon.spreadsheet.test.fixtures.TestFixtures;
import com.vaadin.testbench.TestBenchTestCase;
Expand All @@ -24,7 +26,10 @@ public SpreadsheetPage createNewSpreadsheet() {

public SpreadsheetPage loadFile(String testSheetFilename,
TestBenchTestCase tbtc) {
ComboBoxElement testSheetSelect = $(ComboBoxElement.class).id("testSheetSelect");
waitUntil(ExpectedConditions
.presenceOfElementLocated(By.id("testSheetSelect")));
ComboBoxElement testSheetSelect = $(ComboBoxElement.class)
.id("testSheetSelect");
testSheetSelect.selectByText(testSheetFilename);
testSheetSelect.waitForVaadin();
$(ButtonElement.class).id("update").click();
Expand Down