Skip to content

TagSpaces is an offline, open source, document manager with tagging support

e2e web fix

sytolkeae39bafced6
diff --git a/scripts/webextconfig-two-locations.js b/scripts/webextconfig-two-locations.js
index c1a0d99a2..ac0dca179 100644
--- a/scripts/webextconfig-two-locations.js
+++ b/scripts/webextconfig-two-locations.js
@@ -4,13 +4,13 @@ window.ExtUseGenerateThumbnails = true;
window.ExtLocations = [
{
uuid: '30565f09-c7fd-2333-fc67-a75db27rt5ba', // an unique id of the location
- type: '0', // 1 defines the locations a cloud based
+ type: '1', // 1 defines the locations a cloud based
name: 'empty_folder', // the name of the location
- path:
- './tests/testdata-tmp/file-structure/supported-filestypes/empty_folder', // the path to sub folder in the location
- // accessKeyId: 'your_access_key', // the access key of the user
- // secretAccessKey: 'your_secret_key', // the secret case of the user
- // bucketName: 'demo-bucket', // the name of the S3 bucket
+ path: '/empty_folder', // the path to sub folder in the location
+ accessKeyId: 'minioadmin', // the access key of the user
+ secretAccessKey: 'minioadmin', // the secret case of the user
+ bucketName: 'supported-filestypes', // the name of the S3 bucket
+ endpointURL: 'http://127.0.0.1:9000', // the name of the S3 bucket
// region: 'eu-central-1', // the AWS region
isDefault: false, // if true this location will be loaded by the application start
isReadOnly: false, // if true the user interface of the application turns to read-only mode
@@ -20,12 +20,13 @@ window.ExtLocations = [
},
{
uuid: '30565f09-c7fd-2333-fc67-a75db27rt5b1', // an unique id of the location
- type: '0', // 1 defines the locations a cloud based
+ type: '1', // 1 defines the locations a cloud based
name: 'supported-filestypes', // the name of the location
- path: './tests/testdata-tmp/file-structure/supported-filestypes', // the path to sub folder in the location
- // accessKeyId: 'your_access_key', // the access key of the user
- // secretAccessKey: 'your_secret_key', // the secret case of the user
- // bucketName: 'demo-bucket', // the name of the S3 bucket
+ path: '', // the path to sub folder in the location
+ accessKeyId: 'minioadmin', // the access key of the user
+ secretAccessKey: 'minioadmin', // the secret case of the user
+ bucketName: 'supported-filestypes', // the name of the S3 bucket
+ endpointURL: 'http://127.0.0.1:9000', // the name of the S3 bucket
// region: 'eu-central-1', // the AWS region
isDefault: true, // if true this location will be loaded by the application start
isReadOnly: false, // if true the user interface of the application turns to read-only mode
diff --git a/tests/e2e/search.pw.e2e.js b/tests/e2e/search.pw.e2e.js
index df9db6205..1168325f9 100644
--- a/tests/e2e/search.pw.e2e.js
+++ b/tests/e2e/search.pw.e2e.js
@@ -353,7 +353,7 @@ test.describe('TST06 - Test Search in file structure:', () => {
await expectElementExist(selectorFile, false, 5000);
});
- test('TST0635 - Search q. comp - scope (global) [web,electron]', async () => {
+ test('TST0635 - Search q. comp - scope (global) [electron]', async () => {
await createFile('fulltext.txt', 'testing fulltext');
await clickOn('[data-tid=location_' + defaultLocationName + ']');