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

Exclude element screenshot tests from IE11 #11688

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
@@ -1,14 +1,25 @@
package com.vaadin.tests.application;

import java.util.Arrays;
import java.util.List;

import org.junit.Test;
import org.openqa.selenium.remote.DesiredCapabilities;

import com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.testbench.elements.CheckBoxElement;
import com.vaadin.testbench.elements.NotificationElement;
import com.vaadin.testbench.parallel.Browser;
import com.vaadin.tests.tb3.MultiBrowserThemeTest;

public class CriticalNotificationsTest extends MultiBrowserThemeTest {

@Override
public List<DesiredCapabilities> getBrowsersToTest() {
return Arrays.asList(Browser.CHROME.getDesiredCapabilities(),
Browser.FIREFOX.getDesiredCapabilities());
}

@Test
public void internalError() throws Exception {
testCriticalNotification("Internal error");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
package com.vaadin.tests.components.combobox;

import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.assertEquals;

import org.junit.Test;
import org.openqa.selenium.Keys;
import org.openqa.selenium.remote.DesiredCapabilities;

import com.vaadin.testbench.By;
import com.vaadin.testbench.elements.ComboBoxElement;
import com.vaadin.testbench.parallel.Browser;
import com.vaadin.testbench.parallel.TestCategory;
import com.vaadin.tests.tb3.MultiBrowserTest;

@TestCategory("xvfb-test")
public class ComboBoxItemIconTest extends MultiBrowserTest {

@Override
public List<DesiredCapabilities> getBrowsersToTest() {
return Arrays.asList(Browser.CHROME.getDesiredCapabilities(),
Browser.FIREFOX.getDesiredCapabilities());
}

@Test
public void testIconsInComboBox() throws Exception {
openTestURL();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
package com.vaadin.tests.components.progressindicator;

import java.util.Arrays;
import java.util.List;

import org.junit.Test;
import org.openqa.selenium.remote.DesiredCapabilities;

import com.vaadin.testbench.elements.ProgressBarElement;
import com.vaadin.testbench.parallel.Browser;
import com.vaadin.tests.tb3.MultiBrowserTest;

public class ProgressBarStaticReindeerTest extends MultiBrowserTest {

@Override
public List<DesiredCapabilities> getBrowsersToTest() {
return Arrays.asList(Browser.CHROME.getDesiredCapabilities(),
Browser.FIREFOX.getDesiredCapabilities());
}
@Test
public void compareScreenshot() throws Exception {
openTestURL();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
package com.vaadin.tests.components.progressindicator;

import java.util.Arrays;
import java.util.List;

import org.junit.Test;
import org.openqa.selenium.remote.DesiredCapabilities;

import com.vaadin.testbench.elements.ProgressBarElement;
import com.vaadin.testbench.parallel.Browser;
import com.vaadin.tests.tb3.MultiBrowserTest;

public class ProgressBarStaticRunoTest extends MultiBrowserTest {

@Override
public List<DesiredCapabilities> getBrowsersToTest() {
return Arrays.asList(Browser.CHROME.getDesiredCapabilities(),
Browser.FIREFOX.getDesiredCapabilities());
}

@Test
public void compareScreenshot() throws Exception {
openTestURL();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,30 @@
import static org.junit.Assert.assertEquals;

import java.io.IOException;
import java.util.Arrays;
import java.util.List;

import org.junit.Test;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;

import com.vaadin.testbench.TestBenchElement;
import com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.testbench.elements.TableElement;
import com.vaadin.testbench.elements.TableElement.ContextMenuElement;
import com.vaadin.testbench.parallel.Browser;
import com.vaadin.testbench.parallel.BrowserUtil;
import com.vaadin.tests.tb3.MultiBrowserTest;

public class ColumnCollapsingAndColumnExpansionTest extends MultiBrowserTest {

@Override
public List<DesiredCapabilities> getBrowsersToTest() {
return Arrays.asList(Browser.CHROME.getDesiredCapabilities(),
Browser.FIREFOX.getDesiredCapabilities());
}

@Test
public void expandCorrectlyAfterCollapse() throws IOException {
openTestURL();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.openqa.selenium.remote.DesiredCapabilities;

import com.vaadin.testbench.By;
import com.vaadin.testbench.annotations.RunLocally;
import com.vaadin.testbench.elements.WindowElement;
import com.vaadin.testbench.parallel.Browser;
import com.vaadin.tests.tb3.MultiBrowserTest;
Expand All @@ -17,8 +18,7 @@ public class WindowControlButtonFocusTest extends MultiBrowserTest {

@Override
public List<DesiredCapabilities> getBrowsersToTest() {
return Arrays.asList(Browser.CHROME.getDesiredCapabilities(),
Browser.IE11.getDesiredCapabilities());
return Arrays.asList(Browser.CHROME.getDesiredCapabilities());
}

@Test
Expand Down