diff --git a/reports/c-sharp/VERSION b/reports/c-sharp/VERSION index deec10e..c941743 100644 --- a/reports/c-sharp/VERSION +++ b/reports/c-sharp/VERSION @@ -1 +1 @@ -v6.19.0.0 \ No newline at end of file +v6.19.1.0 \ No newline at end of file diff --git a/reports/c-sharp/runneradmin_fv-az237-423_2023-10-24_11_54_57.trx b/reports/c-sharp/runneradmin_fv-az237-423_2023-10-24_11_54_57.trx new file mode 100644 index 0000000..d721be9 --- /dev/null +++ b/reports/c-sharp/runneradmin_fv-az237-423_2023-10-24_11_54_57.trx @@ -0,0 +1,3069 @@ + + + + + + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-legacy-civ.jpg' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-legacy-civ.jpg") (0.0s) +Then I receive 'unknown cryptor error' +-> done: CryptoModuleSteps.ThenIReceive("unknown cryptor e...") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +When I set the membership +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheMembership() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMembership("ChatMembership") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +And the data for 'AmeliaMember' member that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMemberThatWeWantToRemove("AmeliaMember") (0.0s) +When I remove a channel member +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveAChannelMember() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +When I set the membership for current user +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheMembershipForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMembership("ChatMembership") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the '(!<[^>]+>)+' UUID pattern access permissions +-> done: FeatureAccessSteps.GivenTheUUIDPatternAccessPermissions("(!<[^>]+>)+") (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid RegExp' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid RegExp") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Only non-capturing groups are allowed. Try replacing `(` with `(?:`.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Only non-capturin...") (0.0s) +* the error detail location is 'permissions.patterns.uuids.(!<[^>]+>)+' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("permissions.patte...") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +When I remove the UUID metadata for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheUUIDMetadataForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given a token +-> done: FeatureAccessSteps.GivenAToken() (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid token' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid token") (0.0s) +* the error source is 'revoke' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("revoke") (0.0s) +* the error detail message is not empty +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIsNotEmpty() (0.0s) +* the error detail location is 'token' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("token") (0.0s) +* the error detail location type is 'path' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("path") (0.0s) +* the error service is 'Access Manager' +-> done: FeatureAccessSteps.ThenTheErrorServiceIs("Access Manager") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.txt", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the '!<[^>]+>++' UUID pattern access permissions +-> done: FeatureAccessSteps.GivenTheUUIDPatternAccessPermissions("!<[^>]+>++") (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid RegExp' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid RegExp") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Syntax error: multiple repeat.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Syntax error: mul...") (0.0s) +* the error detail location is 'permissions.patterns.uuids.!<[^>]+>++' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("permissions.patte...") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-no-version.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-no-v...") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +And the data for 'PatientMembership' membership that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembershipThatWeWantToRemove("PatientMembership") (0.0s) +When I manage memberships +-> done: FeatureObjectsV2MetadataSteps.WhenIManageMemberships() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMembership("ChatMembership") (0.0s) +And the response does not contain list with 'PatientMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseDoesNotContainListWithMembership("PatientMembership") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.jpg' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-v1-a...") (0.0s) +Then I receive 'success' +-> done: CryptoModuleSteps.ThenIReceive("success") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'constant' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "constant") (0.0s) +When I encrypt 'file.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.jpg", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembershipThatWeWantToRemove("ChatMembership") (0.0s) +When I remove the membership for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheMembershipForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMember("PeterMember") (0.0s) +And the data for 'AmeliaMember' member that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMemberThatWeWantToRemove("AmeliaMember") (0.0s) +And the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I manage channel members +-> done: FeatureObjectsV2MetadataSteps.WhenIManageChannelMembers() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMember("PeterMember") (0.0s) +And the response does not contain list with 'AmeliaMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseDoesNotContainListWithMember("AmeliaMember") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForPersona("Alice") (0.0s) +When I set the UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the UUID metadata for 'Alice' persona contains updated +-> done: FeatureObjectsV2MetadataSteps.ThenTheUUIDMetadataForPersonaContainsUpdated("Alice") (0.0s) + + + + + Given Crypto module with default 'acrh' and additional 'legacy' cryptors +-> done: CryptoModuleSteps.GivenCryptoModuleWithDefaultAndAdditionalCryptors("acrh", "legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.jpg", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file-cryptor-legacy-riv.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'DM' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("DM") (0.0s) +When I get the channel metadata with custom +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMetadataWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the channel metadata for 'DM' channel +-> done: FeatureObjectsV2MetadataSteps.ThenTheChannelMetadataForChannel("DM") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'empty-file-cryptor-v1-acrh.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("empty-file-crypto...") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +When I remove the membership +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheMembership() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'uuid-1' UUID resource access permissions +-> done: FeatureAccessSteps.GivenTheUUIDResourceAccessPermissions("uuid-1") (0.0s) +* deny resource permission GET +-> done: FeatureAccessSteps.GivenDenyResourcePermissionGET() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid permissions' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid permissions") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Unexpected value: `permissions.resources.uuids.uuid-1` must be positive and non-zero.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Unexpected value:...") (0.0s) +* the error detail location is 'permissions.resources.uuids.uuid-1' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("permissions.resou...") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +When I remove the UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +When I get the memberships for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheMembershipsForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' and 'PatientMembership' memberships +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMemberships("ChatMembership", "PatientMembership") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'Alice' and 'James' UUID metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndUUIDMetadata("Alice", "James") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-v1-unknown.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-v1-u...") (0.0s) +Then I receive 'unknown cryptor error' +-> done: CryptoModuleSteps.ThenIReceive("unknown cryptor e...") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +When I encrypt 'file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.txt", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.jpg", "stream") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all UUID metadata with custom +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllUUIDMetadataWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'Bob' and 'Lisa' UUID metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndUUIDMetadata("Bob", "Lisa") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMember("PeterMember") (0.0s) +And the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I set a channel member including custom and UUID with custom +-> done: FeatureObjectsV2MetadataSteps.WhenISetAChannelMemberIncludingCustomAndUUIDWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMember("PeterMember") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +When I encrypt 'file.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.jpg", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given Crypto module with default 'legacy' and additional 'acrh' cryptors +-> done: CryptoModuleSteps.GivenCryptoModuleWithDefaultAndAdditionalCryptors("legacy", "acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-cryptor-legacy-civ.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-legacy-civ.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-civ.jpg", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +When I grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIGrantATokenSpecifyingThosePermissions() (0.0s) +Then the token contains the TTL 60 +-> done: FeatureAccessSteps.ThenTheTokenContainsTheTTL(60) (0.0s) +Then the token does not contain an authorized uuid +-> done: FeatureAccessSteps.ThenTheTokenDoesNotContainAnAuthorizedUuid() (0.0s) +Then the token has 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELResourceAccessPermissions("channel-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForChannel("Chat") (0.0s) +When I set the channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the channel metadata for 'Chat' channel contains updated +-> done: FeatureObjectsV2MetadataSteps.ThenTheChannelMetadataForChannelContainsUpdated("Chat") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.GivenTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +When I grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIGrantATokenSpecifyingThosePermissions() (0.0s) +Then the token contains the TTL 60 +-> done: FeatureAccessSteps.ThenTheTokenContainsTheTTL(60) (0.1s) +Then the token contains the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.ThenTheTokenContainsTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Then the token has 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELResourceAccessPermissions("channel-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I get the channel members +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMembers() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'AmeliaMember' and 'EvaMember' members +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMembers("AmeliaMember", "EvaMember") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-legacy-civ.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-civ.txt", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.txt", "stream") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file-cryptor-v1-acrh.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 43201 +-> done: FeatureAccessSteps.GivenTheTTL(43201) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.1s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid ttl' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid ttl") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Range should be 1 to 43200 minute(s).' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Range should be 1...") (0.0s) +* the error detail location is 'ttl' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("ttl") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.GivenTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +* grant resource permission WRITE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionWRITE() (0.0s) +* grant resource permission GET +-> done: FeatureAccessSteps.GivenGrantResourcePermissionGET() (0.0s) +* grant resource permission MANAGE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionMANAGE() (0.0s) +* grant resource permission UPDATE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionUPDATE() (0.0s) +* grant resource permission JOIN +-> done: FeatureAccessSteps.GivenGrantResourcePermissionJOIN() (0.0s) +* grant resource permission DELETE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionDELETE() (0.0s) +Given the 'channel_group-1' CHANNEL_GROUP resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNEL_GROUPResourceAccessPermissions("channel_group-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +* grant resource permission MANAGE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionMANAGE() (0.0s) +Given the 'uuid-1' UUID resource access permissions +-> done: FeatureAccessSteps.GivenTheUUIDResourceAccessPermissions("uuid-1") (0.0s) +* grant resource permission GET +-> done: FeatureAccessSteps.GivenGrantResourcePermissionGET() (0.0s) +* grant resource permission UPDATE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionUPDATE() (0.0s) +* grant resource permission DELETE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionDELETE() (0.0s) +Given the '^channel-\S*$' CHANNEL pattern access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELPatternAccessPermissions("^channel-\S*$") (0.0s) +* grant pattern permission READ +-> done: FeatureAccessSteps.GivenGrantPatternPermissionREAD() (0.0s) +* grant pattern permission WRITE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionWRITE() (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +* grant pattern permission MANAGE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionMANAGE() (0.0s) +* grant pattern permission UPDATE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionUPDATE() (0.0s) +* grant pattern permission JOIN +-> done: FeatureAccessSteps.GivenGrantPatternPermissionJOIN() (0.0s) +* grant pattern permission DELETE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionDELETE() (0.0s) +Given the '^:channel_group-\S*$' CHANNEL_GROUP pattern access permissions +-> done: FeatureAccessSteps.GivenTheCHANNEL_GROUPPatternAccessPermissions("^:channel_group-\S*$") (0.0s) +* grant pattern permission READ +-> done: FeatureAccessSteps.GivenGrantPatternPermissionREAD() (0.0s) +* grant pattern permission MANAGE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionMANAGE() (0.0s) +Given the '^uuid-\S*$' UUID pattern access permissions +-> done: FeatureAccessSteps.GivenTheUUIDPatternAccessPermissions("^uuid-\S*$") (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +* grant pattern permission UPDATE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionUPDATE() (0.0s) +* grant pattern permission DELETE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionDELETE() (0.0s) +When I grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIGrantATokenSpecifyingThosePermissions() (0.0s) +Then the token contains the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.ThenTheTokenContainsTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Then the token contains the TTL 60 +-> done: FeatureAccessSteps.ThenTheTokenContainsTheTTL(60) (0.0s) +Then the token has 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELResourceAccessPermissions("channel-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) +* token resource permission WRITE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionWRITE() (0.0s) +* token resource permission GET +-> done: FeatureAccessSteps.ThenTokenResourcePermissionGET() (0.0s) +* token resource permission MANAGE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionMANAGE() (0.0s) +* token resource permission UPDATE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionUPDATE() (0.0s) +* token resource permission JOIN +-> done: FeatureAccessSteps.ThenTokenResourcePermissionJOIN() (0.0s) +* token resource permission DELETE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionDELETE() (0.0s) +Then the token has 'channel_group-1' CHANNEL_GROUP resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNEL_GROUPResourceAccessPermissions("channel_group-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) +* token resource permission MANAGE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionMANAGE() (0.0s) +Then the token has 'uuid-1' UUID resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasUUIDResourceAccessPermissions("uuid-1") (0.0s) +* token resource permission GET +-> done: FeatureAccessSteps.ThenTokenResourcePermissionGET() (0.0s) +* token resource permission UPDATE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionUPDATE() (0.0s) +* token resource permission DELETE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionDELETE() (0.0s) +Then the token has '^channel-\S*$' CHANNEL pattern access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELPatternAccessPermissions("^channel-\S*$") (0.0s) +* token pattern permission READ +-> done: FeatureAccessSteps.ThenTokenPatternPermissionREAD() (0.0s) +* token pattern permission WRITE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionWRITE() (0.0s) +* token pattern permission GET +-> done: FeatureAccessSteps.ThenTokenPatternPermissionGET() (0.0s) +* token pattern permission MANAGE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionMANAGE() (0.0s) +* token pattern permission UPDATE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionUPDATE() (0.0s) +* token pattern permission JOIN +-> done: FeatureAccessSteps.ThenTokenPatternPermissionJOIN() (0.0s) +* token pattern permission DELETE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionDELETE() (0.0s) +Then the token has '^:channel_group-\S*$' CHANNEL_GROUP pattern access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNEL_GROUPPatternAccessPermissions("^:channel_group-\S*$") (0.0s) +* token pattern permission READ +-> done: FeatureAccessSteps.ThenTokenPatternPermissionREAD() (0.0s) +* token pattern permission MANAGE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionMANAGE() (0.0s) +Then the token has '^uuid-\S*$' UUID pattern access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasUUIDPatternAccessPermissions("^uuid-\S*$") (0.0s) +* token pattern permission GET +-> done: FeatureAccessSteps.ThenTokenPatternPermissionGET() (0.0s) +* token pattern permission UPDATE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionUPDATE() (0.0s) +* token pattern permission DELETE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionDELETE() (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.jpg", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Bob' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Bob") (0.0s) +When I get the UUID metadata with custom for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheUUIDMetadataWithCustomForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the UUID metadata for 'Bob' persona +-> done: FeatureObjectsV2MetadataSteps.ThenTheUUIDMetadataForPersona("Bob") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given a token +-> done: FeatureAccessSteps.GivenAToken() (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then I get confirmation that token has been revoked +-> done: FeatureAccessSteps.ThenIGetConfirmationThatTokenHasBeenRevoked() (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Bob' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Bob") (0.0s) +When I get the memberships including custom and channel custom information +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheMembershipsIncludingCustomAndChannelCustomInformation() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'VipChatMembership' and 'DMMembership' memberships +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMemberships("VipChatMembership", "DMMembership") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file-cryptor-legacy-riv.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.txt", "stream") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I get the channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the channel metadata for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.ThenTheChannelMetadataForChannel("Chat") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'Chat' and 'Patient' channel metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndChannelMetadata("Chat", "Patient") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'constant' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "constant") (0.0s) +When I encrypt 'file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.txt", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'AmeliaMember' member +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMember("AmeliaMember") (0.0s) +And the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I set a channel member +-> done: FeatureObjectsV2MetadataSteps.WhenISetAChannelMember() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'AmeliaMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMember("AmeliaMember") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +When I get the UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the UUID metadata for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.ThenTheUUIDMetadataForPersona("Alice") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +When I get the memberships +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheMemberships() (0.2s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' and 'PatientMembership' memberships +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMemberships("ChatMembership", "PatientMembership") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given a token +-> done: FeatureAccessSteps.GivenAToken() (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Feature disabled' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Feature disabled") (0.0s) +* the error source is 'revoke' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("revoke") (0.0s) +* the error detail message is 'Token revocation is disabled.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Token revocation ...") (0.0s) +* the error detail location is 'subscribe-key' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("subscribe-key") (0.0s) +* the error detail location type is 'path' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("path") (0.0s) +* the error service is 'Access Manager' +-> done: FeatureAccessSteps.ThenTheErrorServiceIs("Access Manager") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'VipChat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("VipChat") (0.0s) +When I get the channel members including custom and UUID custom information +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMembersIncludingCustomAndUUIDCustomInformation() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'OliverMember' and 'PeterMember' members +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMembers("OliverMember", "PeterMember") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-v1-short.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-v1-s...") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-unknown-acrh.jpg' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-unkn...") (0.0s) +Then I receive 'unknown cryptor error' +-> done: CryptoModuleSteps.ThenIReceive("unknown cryptor e...") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-cryptor-legacy-civ.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-cryptor-legacy-civ.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all channel metadata with custom +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllChannelMetadataWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'DM' and 'VipChat' channel metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndChannelMetadata("DM", "VipChat") (0.0s) + + + + + Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the token string 'unescaped-_.ABCabc123 escaped;,/?:@&=+$#' +-> done: FeatureAccessSteps.GivenTheTokenString("unescaped-_.ABCab...") (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then I get confirmation that token has been revoked +-> done: FeatureAccessSteps.ThenIGetConfirmationThatTokenHasBeenRevoked() (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + + + + + Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file-cryptor-v1-acrh.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + + + + + Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I remove the channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + + + + + Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'file.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.jpg", "stream") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NUnit Adapter 3.17.0.0: Test execution started +Running all tests in D:\a\c-sharp\c-sharp\src\UnitTests\AcceptanceTests\bin\Debug\net6.0\AcceptanceTests.dll + NUnit3TestExecutor discovered 87 of 87 NUnit test cases +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-legacy-civ.jpg' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-legacy-civ.jpg") (0.0s) +Then I receive 'unknown cryptor error' +-> done: CryptoModuleSteps.ThenIReceive("unknown cryptor e...") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-no-version.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-no-v...") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-unknown-acrh.jpg' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-unkn...") (0.0s) +Then I receive 'unknown cryptor error' +-> done: CryptoModuleSteps.ThenIReceive("unknown cryptor e...") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-v1-short.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-v1-s...") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-v1-unknown.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-v1-u...") (0.0s) +Then I receive 'unknown cryptor error' +-> done: CryptoModuleSteps.ThenIReceive("unknown cryptor e...") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'empty-file-cryptor-v1-acrh.txt' file +-> done: CryptoModuleSteps.WhenIDecryptFile("empty-file-crypto...") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.jpg' file +-> done: CryptoModuleSteps.WhenIDecryptFile("file-cryptor-v1-a...") (0.0s) +Then I receive 'success' +-> done: CryptoModuleSteps.ThenIReceive("success") (0.0s) + +Given Crypto module with default 'legacy' and additional 'acrh' cryptors +-> done: CryptoModuleSteps.GivenCryptoModuleWithDefaultAndAdditionalCryptors("legacy", "acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-cryptor-legacy-civ.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with default 'acrh' and additional 'legacy' cryptors +-> done: CryptoModuleSteps.GivenCryptoModuleWithDefaultAndAdditionalCryptors("acrh", "legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.jpg", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-cryptor-legacy-civ.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-cryptor-legacy-civ.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-legacy-civ.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-civ.jpg", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.jpg", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'file-legacy-civ.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-civ.txt", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.txt", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "binary") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-cryptor-legacy-riv.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-lega...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.jpg", "stream") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'file-legacy-riv.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-legacy-riv.txt", "stream") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.jpg' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.jpg") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'file-cryptor-v1-acrh.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("file-cryptor-v1-a...", "stream") (0.0s) +Then Decrypted file content equal to the 'file.txt' file content +-> done: CryptoModuleSteps.ThenDecryptedFileContentEqualToTheFileContent("file.txt") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +When I encrypt 'file.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.jpg", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'constant' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "constant") (0.0s) +When I encrypt 'file.jpg' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.jpg", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +When I encrypt 'file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.txt", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'constant' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "constant") (0.0s) +When I encrypt 'file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.txt", "binary") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file-cryptor-legacy-riv.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file-cryptor-v1-acrh.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "binary") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'binary' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "binary") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I decrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I decrypt 'empty-file-cryptor-legacy-riv.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I decrypt 'empty-file-cryptor-v1-acrh.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIDecryptFileAs("empty-file-crypto...", "stream") (0.0s) +Then I receive 'decryption error' +-> done: CryptoModuleSteps.ThenIReceive("decryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'constant' vector +-> done: CryptoModuleSteps.GivenWithVector("constant") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'acrh' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("acrh") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with '-' vector +-> done: CryptoModuleSteps.GivenWithVector("-") (0.0s) +When I encrypt 'empty-file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("empty-file.txt", "stream") (0.0s) +Then I receive 'encryption error' +-> done: CryptoModuleSteps.ThenIReceive("encryption error") (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'file.jpg' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.jpg", "stream") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + +Given Crypto module with 'legacy' cryptor +-> done: CryptoModuleSteps.GivenCryptoModuleWithCryptor("legacy") (0.0s) +Given Legacy code with 'pubnubenigma' cipher key and 'random' vector +-> done: CryptoModuleSteps.GivenLegacyCodeWithCipherKeyAndVector("pubnubenigma", "random") (0.0s) +* with 'pubnubenigma' cipher key +-> done: CryptoModuleSteps.GivenWithCipherKey("pubnubenigma") (0.0s) +* with 'random' vector +-> done: CryptoModuleSteps.GivenWithVector("random") (0.0s) +When I encrypt 'file.txt' file as 'stream' +-> done: CryptoModuleSteps.WhenIEncryptFileAs("file.txt", "stream") (0.0s) +Then Successfully decrypt an encrypted file with legacy code +-> done: CryptoModuleSteps.ThenSuccessfullyDecryptAnEncryptedFileWithLegacyCode() (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 43201 +-> done: FeatureAccessSteps.GivenTheTTL(43201) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.1s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid ttl' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid ttl") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Range should be 1 to 43200 minute(s).' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Range should be 1...") (0.0s) +* the error detail location is 'ttl' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("ttl") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'uuid-1' UUID resource access permissions +-> done: FeatureAccessSteps.GivenTheUUIDResourceAccessPermissions("uuid-1") (0.0s) +* deny resource permission GET +-> done: FeatureAccessSteps.GivenDenyResourcePermissionGET() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid permissions' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid permissions") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Unexpected value: `permissions.resources.uuids.uuid-1` must be positive and non-zero.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Unexpected value:...") (0.0s) +* the error detail location is 'permissions.resources.uuids.uuid-1' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("permissions.resou...") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the '!<[^>]+>++' UUID pattern access permissions +-> done: FeatureAccessSteps.GivenTheUUIDPatternAccessPermissions("!<[^>]+>++") (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid RegExp' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid RegExp") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Syntax error: multiple repeat.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Syntax error: mul...") (0.0s) +* the error detail location is 'permissions.patterns.uuids.!<[^>]+>++' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("permissions.patte...") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the '(!<[^>]+>)+' UUID pattern access permissions +-> done: FeatureAccessSteps.GivenTheUUIDPatternAccessPermissions("(!<[^>]+>)+") (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +When I attempt to grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIAttemptToGrantATokenSpecifyingThosePermissions() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid RegExp' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid RegExp") (0.0s) +* the error source is 'grant' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("grant") (0.0s) +* the error detail message is 'Only non-capturing groups are allowed. Try replacing `(` with `(?:`.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Only non-capturin...") (0.0s) +* the error detail location is 'permissions.patterns.uuids.(!<[^>]+>)+' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("permissions.patte...") (0.0s) +* the error detail location type is 'body' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("body") (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.GivenTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +When I grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIGrantATokenSpecifyingThosePermissions() (0.0s) +Then the token contains the TTL 60 +-> done: FeatureAccessSteps.ThenTheTokenContainsTheTTL(60) (0.1s) +Then the token contains the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.ThenTheTokenContainsTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Then the token has 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELResourceAccessPermissions("channel-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.GivenTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +* grant resource permission WRITE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionWRITE() (0.0s) +* grant resource permission GET +-> done: FeatureAccessSteps.GivenGrantResourcePermissionGET() (0.0s) +* grant resource permission MANAGE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionMANAGE() (0.0s) +* grant resource permission UPDATE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionUPDATE() (0.0s) +* grant resource permission JOIN +-> done: FeatureAccessSteps.GivenGrantResourcePermissionJOIN() (0.0s) +* grant resource permission DELETE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionDELETE() (0.0s) +Given the 'channel_group-1' CHANNEL_GROUP resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNEL_GROUPResourceAccessPermissions("channel_group-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +* grant resource permission MANAGE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionMANAGE() (0.0s) +Given the 'uuid-1' UUID resource access permissions +-> done: FeatureAccessSteps.GivenTheUUIDResourceAccessPermissions("uuid-1") (0.0s) +* grant resource permission GET +-> done: FeatureAccessSteps.GivenGrantResourcePermissionGET() (0.0s) +* grant resource permission UPDATE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionUPDATE() (0.0s) +* grant resource permission DELETE +-> done: FeatureAccessSteps.GivenGrantResourcePermissionDELETE() (0.0s) +Given the '^channel-\S*$' CHANNEL pattern access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELPatternAccessPermissions("^channel-\S*$") (0.0s) +* grant pattern permission READ +-> done: FeatureAccessSteps.GivenGrantPatternPermissionREAD() (0.0s) +* grant pattern permission WRITE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionWRITE() (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +* grant pattern permission MANAGE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionMANAGE() (0.0s) +* grant pattern permission UPDATE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionUPDATE() (0.0s) +* grant pattern permission JOIN +-> done: FeatureAccessSteps.GivenGrantPatternPermissionJOIN() (0.0s) +* grant pattern permission DELETE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionDELETE() (0.0s) +Given the '^:channel_group-\S*$' CHANNEL_GROUP pattern access permissions +-> done: FeatureAccessSteps.GivenTheCHANNEL_GROUPPatternAccessPermissions("^:channel_group-\S*$") (0.0s) +* grant pattern permission READ +-> done: FeatureAccessSteps.GivenGrantPatternPermissionREAD() (0.0s) +* grant pattern permission MANAGE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionMANAGE() (0.0s) +Given the '^uuid-\S*$' UUID pattern access permissions +-> done: FeatureAccessSteps.GivenTheUUIDPatternAccessPermissions("^uuid-\S*$") (0.0s) +* grant pattern permission GET +-> done: FeatureAccessSteps.GivenGrantPatternPermissionGET() (0.0s) +* grant pattern permission UPDATE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionUPDATE() (0.0s) +* grant pattern permission DELETE +-> done: FeatureAccessSteps.GivenGrantPatternPermissionDELETE() (0.0s) +When I grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIGrantATokenSpecifyingThosePermissions() (0.0s) +Then the token contains the authorized UUID "test-authorized-uuid" +-> done: FeatureAccessSteps.ThenTheTokenContainsTheAuthorizedUUID("test-authorized-uuid") (0.0s) +Then the token contains the TTL 60 +-> done: FeatureAccessSteps.ThenTheTokenContainsTheTTL(60) (0.0s) +Then the token has 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELResourceAccessPermissions("channel-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) +* token resource permission WRITE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionWRITE() (0.0s) +* token resource permission GET +-> done: FeatureAccessSteps.ThenTokenResourcePermissionGET() (0.0s) +* token resource permission MANAGE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionMANAGE() (0.0s) +* token resource permission UPDATE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionUPDATE() (0.0s) +* token resource permission JOIN +-> done: FeatureAccessSteps.ThenTokenResourcePermissionJOIN() (0.0s) +* token resource permission DELETE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionDELETE() (0.0s) +Then the token has 'channel_group-1' CHANNEL_GROUP resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNEL_GROUPResourceAccessPermissions("channel_group-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) +* token resource permission MANAGE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionMANAGE() (0.0s) +Then the token has 'uuid-1' UUID resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasUUIDResourceAccessPermissions("uuid-1") (0.0s) +* token resource permission GET +-> done: FeatureAccessSteps.ThenTokenResourcePermissionGET() (0.0s) +* token resource permission UPDATE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionUPDATE() (0.0s) +* token resource permission DELETE +-> done: FeatureAccessSteps.ThenTokenResourcePermissionDELETE() (0.0s) +Then the token has '^channel-\S*$' CHANNEL pattern access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELPatternAccessPermissions("^channel-\S*$") (0.0s) +* token pattern permission READ +-> done: FeatureAccessSteps.ThenTokenPatternPermissionREAD() (0.0s) +* token pattern permission WRITE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionWRITE() (0.0s) +* token pattern permission GET +-> done: FeatureAccessSteps.ThenTokenPatternPermissionGET() (0.0s) +* token pattern permission MANAGE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionMANAGE() (0.0s) +* token pattern permission UPDATE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionUPDATE() (0.0s) +* token pattern permission JOIN +-> done: FeatureAccessSteps.ThenTokenPatternPermissionJOIN() (0.0s) +* token pattern permission DELETE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionDELETE() (0.0s) +Then the token has '^:channel_group-\S*$' CHANNEL_GROUP pattern access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNEL_GROUPPatternAccessPermissions("^:channel_group-\S*$") (0.0s) +* token pattern permission READ +-> done: FeatureAccessSteps.ThenTokenPatternPermissionREAD() (0.0s) +* token pattern permission MANAGE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionMANAGE() (0.0s) +Then the token has '^uuid-\S*$' UUID pattern access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasUUIDPatternAccessPermissions("^uuid-\S*$") (0.0s) +* token pattern permission GET +-> done: FeatureAccessSteps.ThenTokenPatternPermissionGET() (0.0s) +* token pattern permission UPDATE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionUPDATE() (0.0s) +* token pattern permission DELETE +-> done: FeatureAccessSteps.ThenTokenPatternPermissionDELETE() (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the TTL 60 +-> done: FeatureAccessSteps.GivenTheTTL(60) (0.0s) +Given the 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.GivenTheCHANNELResourceAccessPermissions("channel-1") (0.0s) +* grant resource permission READ +-> done: FeatureAccessSteps.GivenGrantResourcePermissionREAD() (0.0s) +When I grant a token specifying those permissions +-> done: FeatureAccessSteps.WhenIGrantATokenSpecifyingThosePermissions() (0.0s) +Then the token contains the TTL 60 +-> done: FeatureAccessSteps.ThenTheTokenContainsTheTTL(60) (0.0s) +Then the token does not contain an authorized uuid +-> done: FeatureAccessSteps.ThenTheTokenDoesNotContainAnAuthorizedUuid() (0.0s) +Then the token has 'channel-1' CHANNEL resource access permissions +-> done: FeatureAccessSteps.ThenTheTokenHasCHANNELResourceAccessPermissions("channel-1") (0.0s) +* token resource permission READ +-> done: FeatureAccessSteps.ThenTokenResourcePermissionREAD() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I get the channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the channel metadata for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.ThenTheChannelMetadataForChannel("Chat") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'DM' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("DM") (0.0s) +When I get the channel metadata with custom +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMetadataWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the channel metadata for 'DM' channel +-> done: FeatureObjectsV2MetadataSteps.ThenTheChannelMetadataForChannel("DM") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'Chat' and 'Patient' channel metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndChannelMetadata("Chat", "Patient") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all channel metadata with custom +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllChannelMetadataWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'DM' and 'VipChat' channel metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndChannelMetadata("DM", "VipChat") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I remove the channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForChannel("Chat") (0.0s) +When I set the channel metadata +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheChannelMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the channel metadata for 'Chat' channel contains updated +-> done: FeatureObjectsV2MetadataSteps.ThenTheChannelMetadataForChannelContainsUpdated("Chat") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I get the channel members +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMembers() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'AmeliaMember' and 'EvaMember' members +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMembers("AmeliaMember", "EvaMember") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'VipChat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("VipChat") (0.0s) +When I get the channel members including custom and UUID custom information +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheChannelMembersIncludingCustomAndUUIDCustomInformation() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'OliverMember' and 'PeterMember' members +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMembers("OliverMember", "PeterMember") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMember("PeterMember") (0.0s) +And the data for 'AmeliaMember' member that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMemberThatWeWantToRemove("AmeliaMember") (0.0s) +And the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I manage channel members +-> done: FeatureObjectsV2MetadataSteps.WhenIManageChannelMembers() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMember("PeterMember") (0.0s) +And the response does not contain list with 'AmeliaMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseDoesNotContainListWithMember("AmeliaMember") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +And the data for 'AmeliaMember' member that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMemberThatWeWantToRemove("AmeliaMember") (0.0s) +When I remove a channel member +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveAChannelMember() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'AmeliaMember' member +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMember("AmeliaMember") (0.0s) +And the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I set a channel member +-> done: FeatureObjectsV2MetadataSteps.WhenISetAChannelMember() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'AmeliaMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMember("AmeliaMember") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMember("PeterMember") (0.0s) +And the id for 'Chat' channel +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForChannel("Chat") (0.0s) +When I set a channel member including custom and UUID with custom +-> done: FeatureObjectsV2MetadataSteps.WhenISetAChannelMemberIncludingCustomAndUUIDWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'PeterMember' member +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMember("PeterMember") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +When I get the memberships for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheMembershipsForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' and 'PatientMembership' memberships +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMemberships("ChatMembership", "PatientMembership") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +When I get the memberships +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheMemberships() (0.2s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' and 'PatientMembership' memberships +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMemberships("ChatMembership", "PatientMembership") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Bob' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Bob") (0.0s) +When I get the memberships including custom and channel custom information +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheMembershipsIncludingCustomAndChannelCustomInformation() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'VipChatMembership' and 'DMMembership' memberships +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndMemberships("VipChatMembership", "DMMembership") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +And the data for 'PatientMembership' membership that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembershipThatWeWantToRemove("PatientMembership") (0.0s) +When I manage memberships +-> done: FeatureObjectsV2MetadataSteps.WhenIManageMemberships() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMembership("ChatMembership") (0.0s) +And the response does not contain list with 'PatientMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseDoesNotContainListWithMembership("PatientMembership") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +When I remove the membership +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheMembership() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership that we want to remove +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembershipThatWeWantToRemove("ChatMembership") (0.0s) +When I remove the membership for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheMembershipForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +When I set the membership +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheMembership() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMembership("ChatMembership") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +And the data for 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForMembership("ChatMembership") (0.0s) +When I set the membership for current user +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheMembershipForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'ChatMembership' membership +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithMembership("ChatMembership") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'Alice' and 'James' UUID metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndUUIDMetadata("Alice", "James") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +When I get all UUID metadata with custom +-> done: FeatureObjectsV2MetadataSteps.WhenIGetAllUUIDMetadataWithCustom() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the response contains list with 'Bob' and 'Lisa' UUID metadata +-> done: FeatureObjectsV2MetadataSteps.ThenTheResponseContainsListWithAndUUIDMetadata("Bob", "Lisa") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +When I get the UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the UUID metadata for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.ThenTheUUIDMetadataForPersona("Alice") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Bob' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Bob") (0.0s) +When I get the UUID metadata with custom for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIGetTheUUIDMetadataWithCustomForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the UUID metadata for 'Bob' persona +-> done: FeatureObjectsV2MetadataSteps.ThenTheUUIDMetadataForPersona("Bob") (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the id for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheIdForPersona("Alice") (0.0s) +When I remove the UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given current user is 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenCurrentUserIsPersona("Alice") (0.0s) +When I remove the UUID metadata for current user +-> done: FeatureObjectsV2MetadataSteps.WhenIRemoveTheUUIDMetadataForCurrentUser() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) + +Given I have a keyset with Objects V2 enabled +-> done: FeatureObjectsV2MetadataSteps.GivenIHaveAKeysetWithObjectsVEnabled(2) (0.0s) +Given the data for 'Alice' persona +-> done: FeatureObjectsV2MetadataSteps.GivenTheDataForPersona("Alice") (0.0s) +When I set the UUID metadata +-> done: FeatureObjectsV2MetadataSteps.WhenISetTheUUIDMetadata() (0.0s) +Then I receive a successful response +-> done: FeatureObjectsV2MetadataSteps.ThenIReceiveASuccessfulResponse() (0.0s) +And the UUID metadata for 'Alice' persona contains updated +-> done: FeatureObjectsV2MetadataSteps.ThenTheUUIDMetadataForPersonaContainsUpdated("Alice") (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given a token +-> done: FeatureAccessSteps.GivenAToken() (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Feature disabled' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Feature disabled") (0.0s) +* the error source is 'revoke' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("revoke") (0.0s) +* the error detail message is 'Token revocation is disabled.' +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIs("Token revocation ...") (0.0s) +* the error detail location is 'subscribe-key' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("subscribe-key") (0.0s) +* the error detail location type is 'path' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("path") (0.0s) +* the error service is 'Access Manager' +-> done: FeatureAccessSteps.ThenTheErrorServiceIs("Access Manager") (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given the token string 'unescaped-_.ABCabc123 escaped;,/?:@&=+$#' +-> done: FeatureAccessSteps.GivenTheTokenString("unescaped-_.ABCab...") (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then I get confirmation that token has been revoked +-> done: FeatureAccessSteps.ThenIGetConfirmationThatTokenHasBeenRevoked() (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given a token +-> done: FeatureAccessSteps.GivenAToken() (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then I get confirmation that token has been revoked +-> done: FeatureAccessSteps.ThenIGetConfirmationThatTokenHasBeenRevoked() (0.0s) + +Given I have a keyset with access manager enabled +-> done: FeatureAccessSteps.GivenIHaveAKeysetWithAccessManagerEnabled() (0.0s) +Given a token +-> done: FeatureAccessSteps.GivenAToken() (0.0s) +When I revoke a token +-> done: FeatureAccessSteps.WhenIRevokeAToken() (0.0s) +Then an error is returned +-> done: FeatureAccessSteps.ThenAnErrorIsReturned() (0.0s) +* the error status code is 400 +-> done: FeatureAccessSteps.ThenTheErrorStatusCodeIs(400) (0.0s) +* the error message is 'Invalid token' +-> done: FeatureAccessSteps.ThenTheErrorMessageIs("Invalid token") (0.0s) +* the error source is 'revoke' +-> done: FeatureAccessSteps.ThenTheErrorSourceIs("revoke") (0.0s) +* the error detail message is not empty +-> done: FeatureAccessSteps.ThenTheErrorDetailMessageIsNotEmpty() (0.0s) +* the error detail location is 'token' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationIs("token") (0.0s) +* the error detail location type is 'path' +-> done: FeatureAccessSteps.ThenTheErrorDetailLocationTypeIs("path") (0.0s) +* the error service is 'Access Manager' +-> done: FeatureAccessSteps.ThenTheErrorServiceIs("Access Manager") (0.0s) + +NUnit Adapter 3.17.0.0: Test execution complete + + + + \ No newline at end of file