11import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js' ;
22import { visualDiff } from '@web/test-runner-visual-regression' ;
3- import '@polymer/iron -icon/iron -icon.js' ;
4- import '@vaadin/vaadin-lumo-styles/icons .js' ;
3+ import '@vaadin/vaadin -icon/theme/lumo/vaadin -icon.js' ;
4+ import '@vaadin/vaadin-lumo-styles/vaadin-iconset .js' ;
55import '../../../theme/lumo/vaadin-button.js' ;
66
77describe ( 'button' , ( ) => {
@@ -118,7 +118,7 @@ describe('button', () => {
118118 let icon ;
119119
120120 beforeEach ( ( ) => {
121- icon = document . createElement ( 'iron -icon' ) ;
121+ icon = document . createElement ( 'vaadin -icon' ) ;
122122 icon . setAttribute ( 'icon' , 'lumo:edit' ) ;
123123 icon . setAttribute ( 'slot' , 'prefix' ) ;
124124 element . appendChild ( icon ) ;
@@ -143,7 +143,7 @@ describe('button', () => {
143143 let icon ;
144144
145145 beforeEach ( ( ) => {
146- icon = document . createElement ( 'iron -icon' ) ;
146+ icon = document . createElement ( 'vaadin -icon' ) ;
147147 icon . setAttribute ( 'icon' , 'lumo:arrow-right' ) ;
148148 icon . setAttribute ( 'slot' , 'suffix' ) ;
149149 element . appendChild ( icon ) ;
@@ -169,7 +169,7 @@ describe('button', () => {
169169
170170 beforeEach ( ( ) => {
171171 element . textContent = '' ;
172- icon = document . createElement ( 'iron -icon' ) ;
172+ icon = document . createElement ( 'vaadin -icon' ) ;
173173 icon . setAttribute ( 'icon' , 'lumo:plus' ) ;
174174 icon . setAttribute ( 'slot' , 'prefix' ) ;
175175 element . appendChild ( icon ) ;
0 commit comments