Skip to content

Release v0.5.0

julian.baeume requested to merge release-0.5.0 into master

a.k.a. the OX “Cloud ready” release

features

  • [beta] add alternative provisioning using the Reseller SOAP API of the MW (incl. OX Cloud Plugins)
    • implement the same interface as for the current provisioning modules (users, contexts)
    • additionally some extra support like hasTaxonomy for contexts
    • this is currently meant as a preview/beta release, so there might be breaking changes to this API in the (near) future
  • add hasConfig API for contexts (thanks @joeran.kuschel for initial implementation)
  • breaking Context#create and User#create now always return fresh contexts/users (thanks @bjoern.koester for the inspiration)
    • in case, the item already exists, a new id will be "guessed" and a fresh item is created instead
    • to re-use existing items, there now is a reuse function, which works very similar to create but expects the item to be present
  • provisioning hooks for users and contexts
    • it's now possible to register event handlers on certain hooks like “user created” or “context removed”.
  • breaking remove prefix option from login helper
    • the mock part of appserver is considered deprecated and existing code should be ported to MockRequest helper
  • add User#login getter function as unified interface to get login credentials
  • breaking remove haveCapability/dontHaveCapability helpers, those have been part of users/contexts API for quite some time

fixes/smaller changes

  • improvements to the filterSuite plugin
    • better distribution when calculating partitions
    • better handling of disabled tests when calculating partitions
  • improve login helper timing (thanks @daniel.dickhaus for the the idea and initial implementation)
    • the UI is considered “finished booting”, after the busy spinner animation goes away
  • improve logout actor by waiting for navigation instead of “well-known” elements which might not be available in certain scenarios
  • consider global.codecept_dir variable for relative file references (better compatibility with CodeceptJS upstream helpers)
  • improvements to haveSettings helper when using multiple MW nodes
    • there still is room for improvement but at least we try to end up on the same node with all clients in use (nodejs + browser)
    • currently synchronizes the JSESSIONID cookie to use the same node for all clients during a test
  • fix broken sessions for getSessionForUser by checking for a working session first and doing a relogin if needed
  • more robust way to determine filestorage id for contexts (thanks @joeran.kuschel)

kudos to @youssef.benabdalla for late reviews, bug hunting (including fixes \o/) and feedback on the reseller API implementation

Edited by julian.baeume

Merge request reports