**Key id and secret access key pair**: available on [IAM](https://console.aws.amazon.com/iamv2/home?#/users).
**Anonymous access**: for anonymous access. Public access to the bucket must be enabled. |
| **Region** | (Optional) Choose a region from the list or add a new one. For more information, see [**Available locations**](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions). |
-| **Manifests** | Click **+ Add manifest** and enter the name of the manifest file with an extension. For example: `manifest.jsonl`. |
+| **Manifests** | Click **+ Add manifest** and enter the name of the manifest file with an extension. For example: `manifest.jsonl`. |
@@ -404,14 +406,12 @@ Fill in the following fields:
| **Provider** | From drop-down list select **Azure Blob Container**. |
| **Container name`** | Name of the cloud storage container. |
| **Authorization type** | Depends on the container setup. **[Account name and SAS token](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/document-translation/create-sas-tokens?tabs=blobs)**:
**Account name** enter storage account name.
**SAS token** is located in the **Shared access signature** section of your [Storage account](#sas-token).
. **[Anonymous access](https://docs.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-configure?tabs=portal)**: for anonymous access **Allow enabling public access on containers** must be enabled. |
-| **Manifests** | Click **+ Add manifest** and enter the name of the manifest file with an extention. For example: `manifest.jsonl`. |
+| **Manifests** | Click **+ Add manifest** and enter the name of the manifest file with an extention. For example: `manifest.jsonl`. |
After filling in all the fields, click **Submit**.
-
-
## Prepare the dataset
For example, the dataset is [The Oxford-IIIT Pet Dataset](https://www.robots.ox.ac.uk/~vgg/data/pets/):
diff --git a/tests/cypress/e2e/actions_tasks3/case_105_cloud_storage.js b/tests/cypress/e2e/actions_tasks3/case_105_cloud_storage.js
index 8bacf46fd94..6657a6e851d 100644
--- a/tests/cypress/e2e/actions_tasks3/case_105_cloud_storage.js
+++ b/tests/cypress/e2e/actions_tasks3/case_105_cloud_storage.js
@@ -40,13 +40,26 @@ context('Cloud storage.', () => {
cy.get($el).should('exist');
});
});
+ });
+
+ it('Check "Cloud Storage" manifest field.', () => {
// Check add/remove manifest file
cy.get('.cvat-add-manifest-button').should('be.visible').click();
- cy.get('[placeholder="manifest.jsonl"]').should('exist').should('have.attr', 'value', '');
- cy.get('[placeholder="manifest.jsonl"]').type(dummyData.manifest);
- cy.get('[placeholder="manifest.jsonl"]').should('have.attr', 'value', dummyData.manifest);
+ cy.get('.cvat-cloud-storage-manifest-field').should('exist').should('have.attr', 'value', '');
+ cy.get('.cvat-cloud-storage-manifest-field').type(dummyData.manifest);
+ cy.get('.cvat-cloud-storage-manifest-field').should('have.attr', 'value', dummyData.manifest);
+ cy.get('[data-icon="delete"]').should('be.visible').click();
+ cy.get('.cvat-cloud-storage-manifest-field').should('not.exist');
+
+ // Check we can't add non-jsonl file
+ cy.get('.cvat-add-manifest-button').should('be.visible').click();
+ cy.get('.cvat-cloud-storage-manifest-field').type('manifest.json');
+ cy.get('.cvat-cloud-storage-manifest-field').should('have.attr', 'value', 'manifest.json');
+ cy.get('.cvat-cloud-storage-form').within(() => {
+ cy.contains('Manifest file must have .jsonl extension').should('exist');
+ });
cy.get('[data-icon="delete"]').should('be.visible').click();
- cy.get('[placeholder="manifest.jsonl"]').should('not.exist');
+ cy.get('.cvat-cloud-storage-manifest-field').should('not.exist');
});
it('Check "AWS S3" provider fields.', () => {