Skip to content

Commit 282bd1b

Browse files
WIP: test: rename fc-toggle-button selector in IT tests
1 parent f7e66db commit 282bd1b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/com/flowingcode/vaadin/addons/togglebutton/it/ToggleButtonIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public ToggleButtonIT() {
3434
}
3535

3636
private TestBenchElement getToggle(String id) {
37-
return $("toggle-button").id(id);
37+
return $("fc-toggle-button").id(id);
3838
}
3939

4040
@Test

src/test/java/com/flowingcode/vaadin/addons/togglebutton/it/ToggleButtonVariantsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public ToggleButtonVariantsIT() {
3434
}
3535

3636
private TestBenchElement getToggle(String id) {
37-
return $("toggle-button").id(id);
37+
return $("fc-toggle-button").id(id);
3838
}
3939

4040
// --- Color variants ---

src/test/java/com/flowingcode/vaadin/addons/togglebutton/it/ViewIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected boolean matchesSafely(TestBenchElement item, Description mismatchDescr
5757

5858
@Test
5959
public void componentWorks() {
60-
TestBenchElement element = $("toggle-button").first();
60+
TestBenchElement element = $("fc-toggle-button").first();
6161
assertThat(element, hasBeenUpgradedToCustomElement);
6262
}
6363
}

0 commit comments

Comments
 (0)