diff --git a/frontend/tests/acceptance/upload-files/digikam.jpg b/frontend/tests/acceptance/upload-files/digikam.jpg new file mode 100644 index 000000000..bcddb1d97 Binary files /dev/null and b/frontend/tests/acceptance/upload-files/digikam.jpg differ diff --git a/frontend/tests/acceptance/upload-files/digikam.json b/frontend/tests/acceptance/upload-files/digikam.json new file mode 100644 index 000000000..d3c673a73 --- /dev/null +++ b/frontend/tests/acceptance/upload-files/digikam.json @@ -0,0 +1,120 @@ +[{ + "SourceFile": "digikam.jpg", + "ExifToolVersion": 11.88, + "FileName": "digikam.jpg", + "Directory": ".", + "FileSize": "195 kB", + "FileModifyDate": "2020:10:19 10:29:43+02:00", + "FileAccessDate": "2020:10:19 10:29:43+02:00", + "FileInodeChangeDate": "2020:10:19 10:29:43+02:00", + "FilePermissions": "rw-rw-r--", + "FileType": "JPEG", + "FileTypeExtension": "jpg", + "MIMEType": "image/jpeg", + "JFIFVersion": 1.01, + "CurrentIPTCDigest": "92f4f2920e4cd46aa5c45f9d2ce7affa", + "CodedCharacterSet": "UTF8", + "Keywords": ["Berlin","Shop"], + "ExifByteOrder": "Big-endian (Motorola, MM)", + "Make": "HUAWEI", + "Model": "ELE-L29", + "Orientation": "Unknown (0)", + "XResolution": 72, + "YResolution": 72, + "ResolutionUnit": "inches", + "Software": "ELE-L29 10.1.0.150(C431E22R2P5)", + "ModifyDate": "2020:10:17 17:48:24", + "YCbCrPositioning": "Centered", + "DocumentName": "", + "ExposureTime": "1/50", + "FNumber": 1.8, + "ExposureProgram": "Program AE", + "ISO": 100, + "ExifVersion": "0210", + "DateTimeOriginal": "2020:10:17 17:48:24", + "CreateDate": "2020:10:17 17:48:24", + "ComponentsConfiguration": "Y, Cb, Cr, -", + "CompressedBitsPerPixel": 0.95, + "ShutterSpeedValue": "1/999963365", + "ApertureValue": 1.8, + "BrightnessValue": 0, + "ExposureCompensation": 0, + "MaxApertureValue": 1.8, + "MeteringMode": "Multi-segment", + "LightSource": "Daylight", + "Flash": "No Flash", + "FocalLength": "5.6 mm", + "MakerNoteUnknownText": "Auto", + "SubSecTime": 950488, + "SubSecTimeOriginal": 950488, + "SubSecTimeDigitized": 950488, + "FlashpixVersion": "0100", + "ColorSpace": "sRGB", + "ExifImageWidth": 3648, + "ExifImageHeight": 2736, + "InteropIndex": "R98 - DCF basic file (sRGB)", + "InteropVersion": "0100", + "SensingMethod": "One-chip color area", + "FileSource": "Digital Camera", + "SceneType": "Directly photographed", + "CustomRendered": "Custom", + "ExposureMode": "Auto", + "WhiteBalance": "Auto", + "DigitalZoomRatio": 1, + "FocalLengthIn35mmFormat": "27 mm", + "SceneCaptureType": "Standard", + "GainControl": "None", + "Contrast": "Normal", + "Saturation": "Normal", + "Sharpness": "Normal", + "SubjectDistanceRange": "Unknown", + "GPSVersionID": "2.2.0.0", + "GPSLatitudeRef": "North", + "GPSLongitudeRef": "East", + "GPSAltitudeRef": "Above Sea Level", + "GPSTimeStamp": "15:48:23", + "GPSProcessingMethod": "GPS", + "GPSDateStamp": "2020:10:17", + "DeviceSettingDescription": "(Binary data 4 bytes, use -b option to extract)", + "Compression": "JPEG (old-style)", + "ThumbnailOffset": 83310, + "ThumbnailLength": 27920, + "XMPToolkit": "XMP Core 4.4.0-Exiv2", + "Warning": "[minor] Fixed incorrect URI for xmlns:MicrosoftPhoto", + "Rating": 4, + "Categories": "BerlinShop", + "RatingPercent": 75, + "ColorLabel": 9, + "PickLabel": 3, + "Urgency": "9 (user-defined priority)", + "LastKeywordXMP": ["Berlin","Shop"], + "TagsList": ["Berlin","Shop"], + "HierarchicalSubject": ["Berlin","Shop"], + "CatalogSets": ["Berlin","Shop"], + "Subject": ["Berlin","Shop"], + "ImageWidth": 500, + "ImageHeight": 375, + "EncodingProcess": "Baseline DCT, Huffman coding", + "BitsPerSample": 8, + "ColorComponents": 3, + "YCbCrSubSampling": "YCbCr4:2:0 (2 2)", + "Aperture": 1.8, + "ImageSize": "500x375", + "Megapixels": 0.188, + "ScaleFactor35efl": 4.8, + "ShutterSpeed": "1/50", + "SubSecCreateDate": "2020:10:17 17:48:24.950488", + "SubSecDateTimeOriginal": "2020:10:17 17:48:24.950488", + "SubSecModifyDate": "2020:10:17 17:48:24.950488", + "ThumbnailImage": "(Binary data 27920 bytes, use -b option to extract)", + "GPSAltitude": "84.4 m Above Sea Level", + "GPSDateTime": "2020:10:17 15:48:23Z", + "GPSLatitude": "52 deg 27' 37.88\" N", + "GPSLongitude": "13 deg 19' 53.05\" E", + "CircleOfConfusion": "0.006 mm", + "FOV": "67.4 deg", + "FocalLength35efl": "5.6 mm (35 mm equivalent: 27.0 mm)", + "GPSPosition": "52 deg 27' 37.88\" N, 13 deg 19' 53.05\" E", + "HyperfocalDistance": "2.79 m", + "LightValue": 7.3 +}] diff --git a/frontend/tests/acceptance/upload-files/foo.txt b/frontend/tests/acceptance/upload-files/foo.txt new file mode 100644 index 000000000..a8ebe2c24 --- /dev/null +++ b/frontend/tests/acceptance/upload-files/foo.txt @@ -0,0 +1 @@ +example text file, you can ignore this diff --git a/frontend/tests/acceptance/upload-files/hentai_2.jpg b/frontend/tests/acceptance/upload-files/hentai_2.jpg new file mode 100644 index 000000000..9e7f48a7b Binary files /dev/null and b/frontend/tests/acceptance/upload-files/hentai_2.jpg differ diff --git a/frontend/tests/acceptance/upload-files/ladybug.jpg b/frontend/tests/acceptance/upload-files/ladybug.jpg new file mode 100644 index 000000000..10513ee1a Binary files /dev/null and b/frontend/tests/acceptance/upload-files/ladybug.jpg differ