-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-4326: Custom URL aliases reparenting #355
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one.
The tests are failing because of symfony/symfony#48832 , I've switched the selector to XPath in 2d04adf to make them green again |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@mnocon The behavior of CSS |
@fancyweb thank you for asking! Our usage looks like this: Then an eZ\Publish\Core\Base\Exceptions\UnauthorizedException is displayed
And an Symfony\Component\Security\Core\Exception\AccessDeniedException is displayed and the Step definition is here: /**
* @Then /^(?:a|an) ([\w\\]+Exception) is displayed$/
*/
public function anAccessDeniedExceptionIsThrown($exceptionString)
{
$this->assertSession()->elementExists('css', "abbr[title='$exceptionString']");
} So the actual CSS selector looked like this:
When running it locally I got the In our case I've switched to XPath, which seems to handle it without issues. Please let me know if there's anything else that you'd like me to add here. |
v3.3
Custom aliases were not reparented previously and simply were breaking when a parent was moved.
Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).