Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into fb-leap-218
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosgarbi committed Oct 30, 2023
2 parents ee653a6 + cb560e3 commit d233eb8
Show file tree
Hide file tree
Showing 29 changed files with 1,736 additions and 1,306 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ inputs.sha }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ inputs.sha }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"

Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
run: |
set -euo pipefail
cd e2e
yarn run test:ci ${{ steps.cpu-info.outputs.cores-count }} --debug --verbose
yarn run test:ci ${{ steps.cpu-info.outputs.cores-count }}
- name: "Upload e2e output"
uses: ./.github/actions/upload-artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
ref: ${{ inputs.sha }}

- name: "Setup NodeJS"
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fun_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ inputs.sha }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
configuration_path: ".github/pr-title-checker-config.json"

- name: "Set PR's label based on title"
uses: release-drafter/release-drafter@v5.24.0
uses: release-drafter/release-drafter@v5.25.0
with:
disable-releaser: true
config-name: autolabeler.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-set-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 1
path: ${{ env.LSF_DIR }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
ref: ${{ inputs.sha }}

- name: "Setup NodeJS"
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"

Expand Down
4 changes: 4 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@
"v8-to-istanbul": "^9.0.0",
"xml2js": "^0.4.23",
"xmlbuilder": "^15.1.1"
},
"resolutions": {
"debug": "^4.3.1",
"electron": "^22.3.25"
}
}
12 changes: 0 additions & 12 deletions e2e/tests/nested-choices.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ Scenario('Switching states at nested choices', async ({ I, LabelStudio })=>{

I.amOnPage('/');

LabelStudio.setFeatureFlags({
ff_dev_2007_rework_choices_280322_short: true,
ff_dev_2100_preselected_choices_250422_short: true,
ff_front_dev_2244_nested_choices_des_107_160522_short: true,
});

LabelStudio.init(params);

{
Expand Down Expand Up @@ -100,12 +94,6 @@ Scenario('Nested choices states from the annotation', async ({ I, LabelStudio })

I.amOnPage('/');

LabelStudio.setFeatureFlags({
ff_dev_2007_rework_choices_280322_short: true,
ff_dev_2100_preselected_choices_250422_short: true,
ff_front_dev_2244_nested_choices_des_107_160522_short: true,
});

// Load annotation with each type of selection for branches (fully checked, fully unchecked, partly checked)
LabelStudio.init({
...params,
Expand Down
7 changes: 0 additions & 7 deletions e2e/tests/regression-tests/dynamic-choices.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ const assert = require('assert');
Feature('Dynamic choices').tag('@regress');

Scenario('Hotkeys for dynamic choices', async ({ I, LabelStudio })=>{
LabelStudio.setFeatureFlags({
ff_dev_2007_rework_choices_280322_short: true,
ff_dev_2007_dev_2008_dynamic_tag_children_250322_short: true,
ff_dev_2100_preselected_choices_250422_short: true,
ff_front_dev_2244_nested_choices_des_107_160522_short: true,
});

const params = {
config: `
<View>
Expand Down
6 changes: 0 additions & 6 deletions e2e/tests/regression-tests/preselected-choices.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ Scenario('Make a duplicate of annotation with preselected choices', async ({ I,
};

I.amOnPage('/');
LabelStudio.setFeatureFlags({
ff_dev_2100_preselected_choices_250422_short: true,
});
LabelStudio.init(params);
// Try to create copy of current annotation
AtTopbar.click('[aria-label="Copy Annotation"]');
Expand Down Expand Up @@ -75,9 +72,6 @@ Scenario('Make a duplicate of empty annotation with preselected choices', async
};

I.amOnPage('/');
LabelStudio.setFeatureFlags({
ff_dev_2100_preselected_choices_250422_short: true,
});
LabelStudio.init(params);
// Try to create copy of current annotation
AtTopbar.click('[aria-label="Copy Annotation"]');
Expand Down
1 change: 0 additions & 1 deletion e2e/tests/taxonomy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Feature('Taxonomy');
Before(({ LabelStudio }) => {
LabelStudio.setFeatureFlags({
fflag_feat_front_lsdv_5451_async_taxonomy_110823_short: false,
ff_dev_2007_dev_2008_dynamic_tag_children_250322_short: true,
fflag_fix_front_dev_3617_taxonomy_memory_leaks_fix: true,
ff_front_dev_1536_taxonomy_user_labels_150222_long: true,
ff_front_1170_outliner_030222_short: true,
Expand Down
Loading

0 comments on commit d233eb8

Please sign in to comment.