Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

[Behat] EZP-26945: Update sentence related to handling the UDW #802

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

micszo
Copy link
Member

@micszo micszo commented Feb 6, 2017

Jira ticket: https://jira.ez.no/browse/EZP-26945

Added implementation of Behat methods for handling the finder explorer.

@micszo
Copy link
Member Author

micszo commented Feb 6, 2017

ping @bdunogier @pcardiga and thank you @damianz5 for help

@micszo micszo force-pushed the ezp-26945-update-udw-handling branch from 5fc17e3 to 090ad66 Compare February 6, 2017 12:05
@micszo
Copy link
Member Author

micszo commented Feb 6, 2017

Managed to update the Platform tests that Travis detected were affected. Question - are there some other tests outside of the 'common' tag that need updating?

@bdunogier
Copy link
Member

old ones need to stay and new ones need to be added.

Perfect. I'll have looks.

@@ -286,6 +286,18 @@ public function selectFromUniversalDiscovery($path)
}

/**
* @When I select the :path folder in the new Universal Discovery Widget
Copy link
Member

@bdunogier bdunogier Feb 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not for you to fix, @micszo, but we need to name this thing. Nobody loves being called "the new XXX" :)

There was somthing about "Finder" but a) it might be copyrighted b) it includes explorer (the pane based thing), search and on-the-fly content creation, so it's probably not a good name.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"the new XXXX" is a bad idea, at some point there will be a new new XXXX ;-)
joke aside, "in the Finder method of Universal Discovery Widget" would a good way to describe that operation.

@bdunogier
Copy link
Member

Actually, thinking about it... does the "old" widget still work ? Are the elements for its implementation still there ? If they're not, how can some parts of the application use the old one ?

@micszo
Copy link
Member Author

micszo commented Feb 6, 2017

I meant this place (on 1.8.0-beta1):
screen shot 2017-02-06 at 15 36 42

@micszo micszo force-pushed the ezp-26945-update-udw-handling branch from 090ad66 to 37c295b Compare February 7, 2017 14:44
@micszo micszo changed the title [WIP][Behat] Update sentences related to handling the UDW [Behat] Update sentences related to handling the UDW Feb 8, 2017
@micszo
Copy link
Member Author

micszo commented Feb 8, 2017

ping @bdunogier @dpobel

@andrerom
Copy link
Contributor

andrerom commented Feb 8, 2017

ah that clarifies it :)
It's what we call just "Content Tree", it was reused by UDW before, but not anymore.( afaik :) )

@@ -15,7 +15,7 @@ Feature: Copy content
And a "News Flash" article exists
And I am on "News Flash" full view
When I click on the action bar button "Copy"
And I select the "eZ Platform/Destination" folder in the Universal Discovery Widget
And I select the "eZ Platform/Destination" folder in the Finder method of Universal Discovery Widget
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it break if we just replace the existing sentence with this new implementation ? We don't really care how the method is selected, do we ? We just want to select something.

@micszo micszo force-pushed the ezp-26945-update-udw-handling branch from 37c295b to 69ba9c4 Compare February 10, 2017 10:25
@micszo
Copy link
Member Author

micszo commented Feb 10, 2017

ping @bdunogier, now simplified. :)

@micszo micszo changed the title [Behat] Update sentences related to handling the UDW [Behat] EZP-26945: Update sentences related to handling the UDW Feb 13, 2017
@micszo micszo force-pushed the ezp-26945-update-udw-handling branch from 69ba9c4 to 5e7d64c Compare February 13, 2017 07:37
@micszo
Copy link
Member Author

micszo commented Feb 13, 2017

ping @bdunogier, @dpobel, @andrerom. It's ready.

@micszo micszo changed the title [Behat] EZP-26945: Update sentences related to handling the UDW [Behat] EZP-26945: Update sentence related to handling the UDW Feb 15, 2017
@micszo micszo force-pushed the ezp-26945-update-udw-handling branch from 5e7d64c to d62f4bb Compare February 15, 2017 08:46
@micszo
Copy link
Member Author

micszo commented Feb 15, 2017

ping @bdunogier @dpobel

@bdunogier
Copy link
Member

Sorry, @micszo, too many topics at the same time :)

I'll have a look asap.

Copy link
Member

@bdunogier bdunogier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please update the PR's description, @micszo ? It looks good, but I'd like to match the code to the high level perspective first.

* @param NodeElement $parentNode The base node to expand from, if null defaults to the content browser root
* @throws \Exception When not found
*/
protected function openBrowserNode($text, $parentNode)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about openFinderExplorerNode ? Would it be closer from the actual role it has ?

* @param string $path The content browser path such as 'Content1/Content2/ContentIWantToClick'
* @param NodeElement $node The base node to expand from
*/
public function openBrowserPath($path, $node)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same than above.

@micszo micszo force-pushed the ezp-26945-update-udw-handling branch from d62f4bb to 4a0bd17 Compare February 17, 2017 12:02
@micszo
Copy link
Member Author

micszo commented Feb 17, 2017

ping @bdunogier, updated.

@micszo
Copy link
Member Author

micszo commented Feb 21, 2017

@bdunogier is any other change needed? Are we good to go? From my pov it's ready. Please merge.

@andrerom
Copy link
Contributor

As this is passing and purely about unblocking tests I'll merge this, thanks @micszo!

@andrerom andrerom merged commit ed9f59b into ezsystems:1.8 Feb 21, 2017
@micszo micszo deleted the ezp-26945-update-udw-handling branch February 21, 2017 14:06
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants