File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/viewer/tests/cypress/tests-e2e Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ describe('The Import Maps Tool', () => {
1111 cy . goToMapView ( { withHash : true } )
1212 cy . openMenuIfMobile ( )
1313 } )
14- it ( 'Import external wms layers' , ( ) => {
14+ it . only ( 'Import external wms layers' , ( ) => {
1515 cy . intercept (
1616 {
1717 https : true ,
@@ -160,9 +160,9 @@ describe('The Import Maps Tool', () => {
160160 const positionStore = usePositionStore ( pinia )
161161 const center = positionStore . center
162162 expect ( center ) . to . have . length ( 2 )
163- const expectedCenter = [ 2764440 , 1187890 ]
164- cy . wrap ( center [ 0 ] ) . should ( 'be.closeTo' , expectedCenter [ 0 ] , 50 )
165- cy . wrap ( center [ 1 ] ) . should ( 'be.closeTo' , expectedCenter [ 1 ] , 50 )
163+ const expectedCenter = [ 2764416 , 1187917 ]
164+ cy . wrap ( center [ 0 ] ) . should ( 'be.closeTo' , expectedCenter [ 0 ] , 5 )
165+ cy . wrap ( center [ 1 ] ) . should ( 'be.closeTo' , expectedCenter [ 1 ] , 5 )
166166 } )
167167 cy . getPinia ( ) . then ( ( pinia ) => {
168168 const positionStore2 = usePositionStore ( pinia )
You can’t perform that action at this time.
0 commit comments