summaryrefslogtreecommitdiffstats
path: root/tests/integration
AgeCommit message (Collapse)Author
2023-06-01feat(API): Allow to block older clientsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-27chore(deps-dev): Bump guzzlehttp/guzzle in /tests/integrationdependabot[bot]
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.6.1 to 7.7.0. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/7.7/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.6.1...7.7.0) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24fix(chat): Update own read marker before triggering events when postingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17chore(deps-dev): Bump guzzlehttp/guzzle in /tests/integrationdependabot[bot]
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.5.1 to 7.6.1. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/7.6/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.5.1...7.6.1) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17feat(deps): Add Nextcloud 28 support on masterJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-14chore(deps-dev): Bump phpunit/phpunit in /tests/integrationdependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.7 to 9.6.8. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.8/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.7...9.6.8) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-05-10fix(chat): Prevent empty chat messages on API levelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-05Improvements after code reviewVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-05Add unit tests and implement pending methodsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-04fix(tests): Add integration test fo rmore invalid colorsJoas Schilling
Co-authored-by: Vitor Mattos <vitor@php.rio> Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-05-04feat(avatar): Add integration tests for emoji avatarsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-04Merge pull request #9437 from nextcloud/bugfix/9435/XML-capabilities-are-brokenJoas Schilling
fix(capabilities): Convert TranslationTuples to arrays so they work in XML
2023-05-04Merge pull request #9423 from nextcloud/bugfix/9320/expose-if-is-custom-avatarJoas Schilling
Expose if the room has a custom avatar
2023-05-04Fix integration testVitor Mattos
I prefered to put a placeholder at URL from step to make splicit that the URL have a version at the place of placeholder. Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-04feat(tests): Add integration test for translation tuples on XML capabilitiesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-03fix(tests): Adjust function names to be uniqueJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-03Fix textsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Fix typoVitor Mattos
https://github.com/nextcloud/spreed/pull/9423#discussion_r1183635637 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Cover with integration tests the room avatar with emojiVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Return isCustomAvatar=false when the name of room start with an avatarVitor Mattos
Didn't make sense to return true because this property is only used to display the trash icon to remove the customized avatar. Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Return isCustomAvatar=true when the name of room start with an emojiVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Remove unused step definitionVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Replace the header X-NC-IsCustomAvatar by conversation property isCustomAvatarVitor Mattos
With the header isn't possible to check if `isCustomAvatar` without retrieve the avatar to verify the header. Because this, isCUstomAvatar was moved to a conversation property. Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Make possible check more than one property from room objectVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03Fixes to be able identify if have a custom avatarVitor Mattos
* Added the header X-NC-IsCustomAvatar * Return every time a non empty string as avatarVersion Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03fix(participants): Migrate self-joined users when assigning permissionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02Merge pull request #9412 from ↵Joas Schilling
nextcloud/bugfix/8787/keep-guest-attendees-with-values Bugfix/8787/keep guest attendees with values
2023-05-02fix(guests): Keep guest attendees with display name or non-default permissionsJoas Schilling
This will allow us to render the display name of guests later on. This was the idea already since we dropped the talk_guests table in nextcloud/spreed#5146 and we don't delete the attendee anymore on leaving the room since then. However, the guest clean up when fetching the participant list was still deleting the guest attendees later on when they didn't have a session. Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02fix(permissions): Reset custom permissions on promotionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26* Convert the argument to PyStringNode to make possible match a json stringVitor Mattos
* Make the definition of steps more specific Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26Make possible accept PyStringNode as argumentVitor Mattos
Will be a bit complex to match a string with quote because the regex ignore quotes: ([^"]*). If we change the regex don't will be possible found the end of string and maybe we will need to change the delimiter of the json string: https://stackoverflow.com/questions/8533943/cucumber-fill-in-a-field-with-double-quote-in-it#8534220 I changed to accept the argument also as PyStringNode and don't need do nothin more inside the method because the PyStringNode class have a magich methdo __toString(). Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-25Add more test scenarioVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-25Add integration test to cover json outputVitor Mattos
Verified only if the output contain a common json simbols: list of objects: [{ Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-24chore(tests): Remove unused context variablesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24fix(tests): Explicitly replace only the desired room tokenJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-22Merge pull request #9351 from ↵Joas Schilling
nextcloud/dependabot/composer/tests/integration/behat/behat-3.13.0 chore(deps-dev): Bump behat/behat from 3.12.0 to 3.13.0 in /tests/integration
2023-04-22chore(deps-dev): Bump behat/behat in /tests/integrationdependabot[bot]
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.12.0 to 3.13.0. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/compare/v3.12.0...v3.13.0) --- updated-dependencies: - dependency-name: behat/behat dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22chore(deps-dev): Bump guzzlehttp/guzzle in /tests/integrationdependabot[bot]
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.5.0 to 7.5.1. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/7.5/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.5.0...7.5.1) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20fix(CS): Automatic fix of coding styleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-20feat(recording): Add an integration test to proof notifications are deleted ↵Joas Schilling
on sharing Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-20feat(CI): Add an integration test for the transcription of recordingsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19chore(deps): Bump guzzlehttp/psr7 in /tests/integrationdependabot[bot]
Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 2.4.3 to 2.5.0. - [Release notes](https://github.com/guzzle/psr7/releases) - [Changelog](https://github.com/guzzle/psr7/blob/2.5/CHANGELOG.md) - [Commits](https://github.com/guzzle/psr7/compare/2.4.3...2.5.0) --- updated-dependencies: - dependency-name: guzzlehttp/psr7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18fix(recording): Don't create confusing system message about recording if ↵Joas Schilling
actor ended the call Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-15chore(deps-dev): Bump phpunit/phpunit in /tests/integrationdependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.6 to 9.6.7. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.7/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.6...9.6.7) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14Return with avatar URL capabilityVitor Mattos
Revert https://github.com/nextcloud/spreed/pull/8805 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-13automated: Apply CS fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-04Also default avatar worksJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-04COnsider that the icon-url will come every timeVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-04Make the version optionalVitor Mattos
We only have the query string "version" when send an avatar after the first version of avatar Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-04Validate icon-url when test share of rich objectVitor Mattos
https://github.com/nextcloud/spreed/pull/9072#discussion_r1143221849 Signed-off-by: Vitor Mattos <vitor@php.rio>