-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IBX-1552 As a QA I want spike test coverage for deep links #2023
Conversation
@@ -17,3 +17,10 @@ Feature: Verify that Admin Panel is available only for authenticated users | |||
Given I open Login page in admin SiteAccess | |||
When I log in as admin with password notpublish | |||
Then I should be on Login page | |||
|
|||
@javascript | |||
Scenario: Should be redirected to the same page in back office after relogin |
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.
I don't think the application behaves like that and it's a different Scenario than what's in https://issues.ibexa.co/browse/EZP-26238
I'd start with the ticket description:
For example, in eZ Publish 5.4.7, if you point your browser to:
http://example.com/ezdemo_site_admin/Tests/Article-1
...you will get to that page after login. In eZ Studio that no longer happens, you always get re-directed to the dashboard after login.
which we then could convert into a Scenario like this:
Given I open back office deep link page X
And I login as <USER>
Then I should be on Page X
Which we will have to adjust and reuse our existing Steps.
I think that there are two issues with the current Scenario:
- It uses logout, which https://issues.ibexa.co/browse/EZP-26238 does not mention at all - imho it's best to focus on the initial Scenario first
- It uses logout, but it never logs in before that - which seems incorrect
6acf65e
to
9ed74f7
Compare
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM. 🙂
Checklist:
$ composer fix-cs
)