Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alex krasn/feature share project #344

Merged
merged 38 commits into from
Jul 17, 2020
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
144a7f0
added share butoon to "Additional actions"
alex-krasn Jun 24, 2020
5a141a9
Merge branch 'master' of https://github.com/microsoft/OCR-Form-Tools …
alex-krasn Jun 25, 2020
ad09956
added sharing functinality
alex-krasn Jun 25, 2020
07a2eb7
Merge branch 'master' of https://github.com/microsoft/OCR-Form-Tools …
alex-krasn Jun 25, 2020
3ef950f
runbook and rephrase input placeholder
alex-krasn Jun 25, 2020
41878fb
fix: piplene error - updated package.json and yarn.lock
alex-krasn Jun 25, 2020
e50256e
fix on pipeline erro r
alex-krasn Jun 25, 2020
4b73a74
fix: deletes log
alex-krasn Jun 30, 2020
5cce105
input styles in .scss
alex-krasn Jun 30, 2020
41fe633
handle string decode error
alex-krasn Jun 30, 2020
97c2adc
Merge branch 'master' of https://github.com/microsoft/OCR-Form-Tools …
alex-krasn Jun 30, 2020
639af3c
handle error for no shared connection
alex-krasn Jun 30, 2020
1a44485
enable share button only on provider type "azureBlobStorage"
alex-krasn Jun 30, 2020
0ba830d
strings
alex-krasn Jul 1, 2020
2973ffc
feat: devider for commandbar
alex-krasn Jul 1, 2020
d56b034
fix: icons
alex-krasn Jul 1, 2020
1ffecab
add separator and hidding connetction type when chosen another one
alex-krasn Jul 1, 2020
58ed930
fix: initial state of modal
alex-krasn Jul 1, 2020
18d8c07
hide separator on connection choice
alex-krasn Jul 1, 2020
f37a47d
+ warning for no connections, and added localization for strings
alex-krasn Jul 1, 2020
806a694
Merge branch 'master' into alex-krasn/feature-share-project
alex-krasn Jul 2, 2020
7aac5bd
fix: connections check
alex-krasn Jul 3, 2020
39a31da
fix: check if project in predict page
alex-krasn Jul 3, 2020
3e0c71b
fix: canvas state
alex-krasn Jul 3, 2020
1b6f595
updated: manual
alex-krasn Jul 3, 2020
e2a0178
Merge branch 'master' into alex-krasn/feature-share-project
alex-krasn Jul 3, 2020
da6a8ec
fix: add new URL() in try-catch
alex-krasn Jul 10, 2020
e8681de
fix: class name affecting some browser's extensions
alex-krasn Jul 10, 2020
9d2967b
fix: for project tokens with same name
alex-krasn Jul 10, 2020
6f018da
+ string for error message and change color of toast ot red
alex-krasn Jul 11, 2020
0759d21
new error message and color
alex-krasn Jul 13, 2020
9202334
Merge branch 'master' into alex-krasn/feature-share-project
alex-krasn Jul 16, 2020
1db2192
refactor and renaming
alex-krasn Jul 17, 2020
f803fd9
fix: user shared project name
alex-krasn Jul 17, 2020
a7ca8f0
refactor; fix: indents, whitespaces, grammar.
alex-krasn Jul 17, 2020
e696c35
add: check if have cloud connections
alex-krasn Jul 17, 2020
2dfd9fd
fix: fix grammer for share project message
stew-ro Jul 17, 2020
d2fa768
Merge branch 'master' into alex-krasn/feature-share-project
alex-krasn Jul 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 72 additions & 44 deletions docs/manual_testing/manual-test-runbook.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Test Runbook

## **Feat: support project sharing via string**

> ### Feature description ###
- Support project sharing bettween users who have access to same storage container

> ### Use Case ###

**`As`** a user
**`I want`** to be able to share to a project via shared string
**`So`** receiving user don't have to manually copy-paste project info into app settings

> ### Acceptance criteria ###

#### Scenario One ####

**`Given`** I've opened a project, clicked on "..." dropdow in Canvas Commandbar
**`When`** I click "Share Project" I should see tha message that shared string been saved to my clipboard
**`Then`** I can paste the string from clipboard
#### Scenario Two ####

**`Given`** I've received the string with a project
**`When`** I open the home page of the FOTT and click on "Open Cloud Project" icon, I can paste the string to the input field and click "OK"
**`Then`** FOTT should open the shared project as expected.

___


## Feat: support distributable releasing

> ### Feature description ###
Expand All @@ -15,12 +42,14 @@

#### Scenario One ####


**Given** I've updated dependencies.
**When** I run `yarn release`.
**Then** a distributable installer should be created in the releases folder.

#### Scenario Two ####


**Given** I've created a distributable installer.
**When** I execute the installer.
**Then** a the FOTT desktop application should install and run as expected.
Expand Down Expand Up @@ -54,39 +83,39 @@ ___

> ### Use Case ###

**As** a user
**I want** to use FoTT's existing features through a desktop app
**As** a user
**I want** to use FoTT's existing features through a desktop app
**So** I don't have to use a browser to use FoTT

**As** a user
**I want** to use files in my local file system
**As** a user
**I want** to use files in my local file system
**So** I can keep all files on premise

> ### Acceptance criteria ###

#### Scenario One ####

**Given** I've installed new dependencies and started FoTT in Electron.
**When** I click a command item in the title bar.
**Then** FoTT should perform the command as expected.
**Given** I've installed new dependencies and started FoTT in Electron.
**When** I click a command item in the title bar.
**Then** FoTT should perform the command as expected.

#### Scenario Two ####

**Given** I've installed new dependencies and started FoTT in Electron.
**When** I perform an action for any existing feature.
**Then** FoTT should perform as expected (the same as through a browser).
**Given** I've installed new dependencies and started FoTT in Electron.
**When** I perform an action for any existing feature.
**Then** FoTT should perform as expected (the same as through a browser).

#### Scenario Three ####

**Given** I've installed new dependencies and started FoTT in Electron.
**When** I create a new connection with local file system as the provider.
**Then** I should be able to create a project with the created connection.
**Given** I've installed new dependencies and started FoTT in Electron.
**When** I create a new connection with local file system as the provider.
**Then** I should be able to create a project with the created connection.

#### Scenario Four ####

**Given** I've installed new dependencies and started FoTT in Electron. And, I have an existing project in my local file system.
**When** I click "Open local project" on the home page and select the existing project.
**Then** FoTT should load the project as expected.
**Given** I've installed new dependencies and started FoTT in Electron. And, I have an existing project in my local file system.
**When** I click "Open local project" on the home page and select the existing project.
**Then** FoTT should load the project as expected.

___

Expand All @@ -98,16 +127,16 @@ Enable reordering tags quickly

> ### Use Case ###

**As** a user
**I want** to be able to move though tags list quickly
**As** a user
**I want** to be able to move though tags list quickly
**So** I can reorder long list of tags faster

> ### Acceptance criteria ###

#### Scenario One ####

**Given** I've opened a project containing documents with long tags list.
**When** I clicking fast on tags buttons 'Move tag up' or 'Move tag down'
**Given** I've opened a project containing documents with long tags list.
**When** I clicking fast on tags buttons 'Move tag up' or 'Move tag down'
**Then** it moves without visible jittering.

___
Expand All @@ -122,22 +151,22 @@ Adding the following buttons to the canvas command bar:

> ### Use Case ###

**As** a user
**I want** to rerun OCR on documents
**As** a user
**I want** to rerun OCR on documents
**So** I can update OCR results

> ### Acceptance criteria ###

#### Scenario One ####

**Given** I've opened a project containing documents and I'm on the Tag Editor page.
**When** I click "Run OCR on current document" in the canvas command bar
**Given** I've opened a project containing documents and I'm on the Tag Editor page.
**When** I click "Run OCR on current document" in the canvas command bar
**Then** I should see "Running OCR..." for the current docucment. When running OCR finishes, I should be able to view the document's updated OCR JSON file.

#### Scenario Two ####

**Given** I've opened a project containing documents and I'm on the Tag Editor page.
**When** I click "Run OCR on all documents" in the canvas command bar
**Given** I've opened a project containing documents and I'm on the Tag Editor page.
**When** I click "Run OCR on all documents" in the canvas command bar
**Then** I should see "Running OCR..." for all documents. When running OCR finishes for each document, I should be ale to view each document's updated OCR JSON file.

___
Expand All @@ -150,35 +179,34 @@ ___

> ### Use Case ###

**As** a user
**I want** to give the new train model a customerized name
**So** I can type the name in input field in train page before click train button.
**As** a user
**I want** to give the new train model a customerized name
**So** I can type the name in input field in train page before click train button.

**As** a user
**I want** to generate a new mode through existing model
**So** I can use model compose
**As** a user
**I want** to generate a new mode through existing model
**So** I can use model compose

> ### Acceptance criteria ###

#### Scenario One ####

**Given** I've opened a project containing documents and I'm on the Train page.
**When** I type customerized name in input field and click train button
**Given** I've opened a project containing documents and I'm on the Train page.
**When** I type customerized name in input field and click train button
**Then** I should see typed name shows in Train Record after record shows up.

#### Scenario Two ####

**Given** I've opened a project containing documents and I'm on the Model Compose page. There are enough existing models in modelList.
**When** I select more than one models then click compose button
**Then** I should see a pop up modal with a list contains selected models and a input field.
**When** I type customerized model name in input field and click compose button on modal
**Then** I should see "Model is composing, please wait...". After that the list shows up again, new composed model with given name will be on the top of the list. The new composed model also has a "combine" icon.
**Given** I've opened a project containing documents and I'm on the Model Compose page. There are enough existing models in modelList.
**When** I select more than one models then click compose button
**Then** I should see a pop up modal with a list contains selected models and a input field.
**When** I type customerized model name in input field and click compose button on modal
**Then** I should see "Model is composing, please wait...". After that the list shows up again, new composed model with given name will be on the top of the list. The new composed model also has a "combine" icon.

#### Scenario Three ####

**Given** I've opened a project containing documents and I'm on the Model Compose page.
**When** I click the header of a column
**Then** I should see the column becomes sorted in either ascending or discending order.
**When** I type some text inside the fliter field on top right
**Given** I've opened a project containing documents and I'm on the Model Compose page.
**When** I click the header of a column
**Then** I should see the column becomes sorted in either ascending or discending order.
**When** I type some text inside the fliter field on top right
**Then** I should see items whose id or name contains the text be filtered out.

Loading