Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29858

Prepare automated setup steps for easier testing

    Details

    • Type: Story Story
    • Status: Closed
    • Priority: High High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-rc1
    • Component/s: QA
    • Labels:
    • Sprint:
      [3.0] - Sprint 3
    • Story Points:
      3

      Description

      It would be useful to add multiple Steps that allow setting up complicated testing scenarios quicker.

      Proposed actions:

      Approach:
      Some of the actions were already done in https://jira.ez.no/browse/EZP-29612 , others are available in some way in BehatBundle (https://github.com/ezsystems/BehatBundle/tree/18a847270cef3f6f535d55b6d028ea9356d8a68d) . We should extract thing from the Doc to Behat Bundle and refactor it to suit our needs (and prepare it for 7.0.0 release).

        Activity

        Marek Nocoń created issue -
        Marek Nocoń made changes -
        Field Original Value New Value
        Description It would be useful to add multiple Steps that allow setting up complicated testing scenarios quicker.

        Proposed actions:
        - Creating Content Types (https://github.com/ezsystems/developer-documentation/pull/467/files#diff-dd334a760e1b7d33678a72e887dfc54bR24 can be used)
        - Creating Content Items (same Steps as in https://github.com/ezsystems/developer-documentation/pull/467/files#diff-dd334a760e1b7d33678a72e887dfc54bR24)
        -- with an additional Step:
        {code}
        And I create "contentType" Content items in "path"
        | fieldName | fieldType | value |
        | body | richtext | val1 |
        | intro | ezstring | val2 |
        {code}
        - Roles/Policies
        -- Creating a user (optional: in group)
        -- Assigning user or group to Role
        -- Creating a Role with policies and limitations

        Approach:
        Some of the actions were already done in https://jira.ez.no/browse/EZP-29612 , others are available in some way in BehatBundle (https://github.com/ezsystems/BehatBundle/tree/18a847270cef3f6f535d55b6d028ea9356d8a68d) . We should extract thing from the Doc to Behat Bundle and refactor it to suit our needs (and prepare it for 7.0.0 release).

        It would be useful to add multiple Steps that allow setting up complicated testing scenarios quicker.

        Proposed actions:
        - Creating Content Types (https://github.com/ezsystems/developer-documentation/pull/467/files#diff-dd334a760e1b7d33678a72e887dfc54bR24 can be used)
        - Creating Content Items (same Steps as in https://github.com/ezsystems/developer-documentation/pull/467/files#diff-dd334a760e1b7d33678a72e887dfc54bR24). Make sure multiple Content Items can be created at once.
        -- with an additional Step:
        {code}
        And I create "contentType" Content items in "path"
        | fieldName | fieldType | value |
        | body | richtext | val1 |
        | intro | ezstring | val2 |
        {code}
        - Roles/Policies
        -- Creating a user (optional: in group)
        -- Assigning user or group to Role
        -- Creating a Role with policies and limitations

        Approach:
        Some of the actions were already done in https://jira.ez.no/browse/EZP-29612 , others are available in some way in BehatBundle (https://github.com/ezsystems/BehatBundle/tree/18a847270cef3f6f535d55b6d028ea9356d8a68d) . We should extract thing from the Doc to Behat Bundle and refactor it to suit our needs (and prepare it for 7.0.0 release).

        Marek Nocoń made changes -
        Status Backlog [ 10000 ] Specification [ 10002 ]
        Assignee Marek Nocoń [ marek.nocon@ez.no ]
        Marek Nocoń made changes -
        Status Specification [ 10002 ] Specification Done [ 10003 ]
        Assignee Marek Nocoń [ marek.nocon@ez.no ]
        Michał Szołtysek made changes -
        Story Points 5
        Michał Szołtysek made changes -
        Story Points 5 3
        Sylvain Guittard made changes -
        Sprint Candidates for next sprint [ 109 ]
        Sylvain Guittard made changes -
        Sprint Candidates for next sprint [ 109 ] [2.5] - Sprint 2 [ 121 ]
        Sylvain Guittard made changes -
        Rank Ranked higher
        Marek Nocoń made changes -
        Status Specification Done [ 10003 ] Development [ 3 ]
        Assignee Marek Nocoń [ marek.nocon@ez.no ]
        Sylvain Guittard made changes -
        Sprint [2.5] - Sprint 2 [ 121 ] [2.5] - Sprint 3 [ 122 ]
        Sylvain Guittard made changes -
        Rank Ranked higher
        Sylvain Guittard made changes -
        Sprint [2.5] - Sprint 3 [ 122 ] [2.5] - Sprint 4 [ 123 ]
        Sylvain Guittard made changes -
        Rank Ranked lower
        Sylvain Guittard made changes -
        Sprint [2.5] - Sprint 4 [ 123 ] [3.0] - Sprint 1 [ 124 ]
        Roland Benedetti made changes -
        Sprint [3.0] - Sprint 1 [ 124 ] [3.0] - Sprint 2 [ 125 ]
        Roland Benedetti made changes -
        Rank Ranked lower
        Show
        Marek Nocoń added a comment - - edited PR: https://github.com/ezsystems/BehatBundle/pull/76 https://github.com/ezsystems/ezpublish-kernel/pull/2601 https://github.com/ezsystems/ezplatform/pull/385
        Sylvain Guittard made changes -
        Sprint [3.0] - Sprint 2 [ 125 ] [3.0] - Sprint 3 [ 126 ]
        Sylvain Guittard made changes -
        Rank Ranked lower
        Show
        Marek Nocoń added a comment - Merged: https://github.com/ezsystems/ezplatform/commit/94fe23244d5438100e437ab3f9caf5735bb06ba3 https://github.com/ezsystems/ezpublish-kernel/commit/92dcf12fc6d937e2313cdbaa02a809e98ae3ac6f https://github.com/ezsystems/BehatBundle/commit/e7aeef065828dc92a32f2b5ef1563bf07b3a8694
        Show
        Marek Nocoń added a comment - Additional PR: https://github.com/ezsystems/BehatBundle/pull/78 https://github.com/ezsystems/BehatBundle/compare/e7aeef065828...08ea9b8a4b4a
        Marek Nocoń made changes -
        Status Development [ 3 ] Development Done [ 5 ]
        Fix Version/s 3.0.0-rc1 [ 15122 ]
        Marek Nocoń made changes -
        Status Development Done [ 5 ] QA [ 10008 ]
        Marek Nocoń made changes -
        Status QA [ 10008 ] QA Done [ 10007 ]
        Assignee Marek Nocoń [ marek.nocon@ez.no ]
        Marek Nocoń made changes -
        Status QA Done [ 10007 ] Closed [ 6 ]
        Resolution Done [ 9 ]
        Show
        Marek Nocoń added a comment - Followup: https://github.com/ezsystems/ezpublish-kernel/pull/2644#event-2348540649
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Backlog Backlog Specification Specification
        1m 20s 1 Marek Nocoń 04/Dec/18 3:09 PM
        Specification Specification Specification Done Specification Done
        33d 19h 59m 1 Marek Nocoń 07/Jan/19 11:08 AM
        Specification Done Specification Done Development Development
        22d 3h 31m 1 Marek Nocoń 29/Jan/19 2:40 PM
        Development Development Development Done Development Done
        98d 20h 37m 1 Marek Nocoń 08/May/19 12:18 PM
        Development Done Development Done QA QA
        17s 1 Marek Nocoń 08/May/19 12:18 PM
        QA QA QA Done QA Done
        7s 1 Marek Nocoń 08/May/19 12:18 PM
        QA Done QA Done Closed Closed
        10m 7s 1 Marek Nocoń 08/May/19 12:28 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Marek Nocoń
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile