Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Feb 6, 2024
1 parent 1b71b39 commit fd45672
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -240,6 +240,10 @@ void TestQgsMapToolAddFeatureLineZ::testTopologicalEditingZ()
cfg.setEnabled( true );
mCanvas->snappingUtils()->setConfig( cfg );

mCanvas->snappingUtils()->locatorForLayer( mLayerTopoZ )->waitForIndexingFinished();
mCanvas->snappingUtils()->locatorForLayer( mLayerLineZ )->waitForIndexingFinished();
mCanvas->snappingUtils()->locatorForLayer( mLayerLine )->waitForIndexingFinished();

oldFids = utils.existingFeatureIds();
utils.mouseClick( 0, 5, Qt::LeftButton );
utils.mouseClick( 10.1, 5, Qt::LeftButton );
Expand Down

0 comments on commit fd45672

Please sign in to comment.