Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
MariiaNebesnova committed Jul 19, 2023
1 parent 04a13dc commit d9473cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/locators/utils/runCssSelectorGeneration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { sendMessage } from "../../../pageServices/connector";
import { Locator } from "../types/locator.types";
import { Locator, LocatorsGenerationStatus } from "../types/locator.types";

export const runCssSelectorGeneration = async (locators: Locator[]) => {
sendMessage.generateSelectorGroupByHash({ elements: locators, fireCallbackMessage: true });
return Promise.resolve("started");
return Promise.resolve(LocatorsGenerationStatus.started);
};

0 comments on commit d9473cb

Please sign in to comment.