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

Commit

Permalink
Fix linting and line endings in some tests
Browse files Browse the repository at this point in the history
ocr + textarea.skip-duplicates
  • Loading branch information
hlomzik committed Feb 22, 2024
1 parent 8d3dc3a commit 75860c1
Show file tree
Hide file tree
Showing 2 changed files with 537 additions and 537 deletions.
6 changes: 3 additions & 3 deletions e2e/tests/ocr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Scenario('Drawing multiple blank regions and then attaching labels', async ({ I,
'ff_front_1170_outliner_030222_short': true,
});
I.amOnPage('/');
LabelStudio.init({ config: createConfig( ), data });
LabelStudio.init({ config: createConfig(), data });
AtImageView.waitForImage();
AtSettings.open();
AtSettings.setGeneralSettings({
Expand Down Expand Up @@ -192,12 +192,12 @@ Scenario('Drawing multiple blank regions and then attaching labels', async ({ I,
}
session('Deserialization', () => {
I.amOnPage('/');
LabelStudio.init({ config: createConfig( ), data, annotations: [{ id: 'test', result: results }] });
LabelStudio.init({ config: createConfig(), data, annotations: [{ id: 'test', result: results }] });
AtImageView.waitForImage();
AtOutliner.seeRegions(regions.length);
for (const [idx, region] of Object.entries(regions)) {
if (region.text) {
I.seeInField(AtOutliner.locateRegionIndex((+idx)+1).find('.lsf-textarea-tag__input'), region.text);
I.seeInField(AtOutliner.locateRegionIndex((+idx) + 1).find('.lsf-textarea-tag__input'), region.text);
}
}
});
Expand Down
Loading

0 comments on commit 75860c1

Please sign in to comment.