Skip to content

Commit 727c127

Browse files
committed
Fix integration test
1 parent cc5af83 commit 727c127

File tree

1 file changed

+2
-0
lines changed
  • src/test/java/com/flowingcode/addons/applayout/integration

1 file changed

+2
-0
lines changed

src/test/java/com/flowingcode/addons/applayout/integration/ViewIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public void describeTo(Description description) {
2828
@Override
2929
protected boolean matchesSafely(TestBenchElement item, Description mismatchDescription) {
3030
String script = "let s=arguments[0].shadowRoot; return !!(s&&s.childElementCount)";
31+
if (!item.getTagName().contains("-"))
32+
return true;
3133
if ((Boolean)item.getCommandExecutor().executeScript(script, item))
3234
return true;
3335
else {

0 commit comments

Comments
 (0)