Skip to content

Commit

Permalink
Use flag in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gondragos committed Jun 27, 2024
1 parent 830768e commit d299e20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/libs/editor/tests/integration/e2e/drafts/submit.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Choices, LabelStudio, ToolBar } from "@humansignal/frontend-test/helpers/LSF";
import { FF_DEV_3873, FF_REVIEWER_FLOW } from "../../../../src/utils/feature-flags";
import { FF_CUSTOM_SCRIPT, FF_DEV_3873, FF_REVIEWER_FLOW } from "../../../../src/utils/feature-flags";

enum RESPONSE_TYPE {
DRAFT = "draft",
Expand All @@ -13,6 +13,7 @@ describe("Annotation submitting process", () => {
LabelStudio.addFeatureFlagsOnPageLoad({
[FF_DEV_3873]: true,
[FF_REVIEWER_FLOW]: true,
[FF_CUSTOM_SCRIPT]: true,
});
// here will be stored an order of completed saving action
// it consists of strings: "draft" and "submit"
Expand Down

0 comments on commit d299e20

Please sign in to comment.