aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/componentlocator/ComponentLocatorOldClassesTest.java
blob: a282385d2bbf829de2e0ec2462541834634c0d79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.vaadin.tests.componentlocator;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.vaadin.testbench.elements.TextFieldElement;
import com.vaadin.tests.tb3.SingleBrowserTest;

public class ComponentLocatorOldClassesTest extends SingleBrowserTest {

    @Test
    public void testTestBenchFindsBothTextFields() {
        openTestURL();
        assertEquals("ComponentLocator did not find elements as expected.", 2,
                $(TextFieldElement.class).all().size());
    }

}