Skip to content
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

Create action to easily navigate to a module #232

Open
linawolf opened this issue Nov 7, 2021 · 1 comment
Open

Create action to easily navigate to a module #232

linawolf opened this issue Nov 7, 2021 · 1 comment
Assignees

Comments

@linawolf
Copy link
Member

linawolf commented Nov 7, 2021

We need to navigate to a certain module very often. This usually consists of:

{"action": "see", "text": "List"},
{"action": "click", "link": "List"},
{"action": "openPageTreePath", "path": ["Congratulations"]},
{"action": "switchToContentFrame"},

if will currently fail

  • if you are not in main frame
  • if the current frame has no main frame (after goToRecord or after frontend screenshot)
  • if the current module link is hidden because the module menu section (i.e. Admin Tools) is collapsed

in many cases we also need to navigate to a submodule, i.e.

{"action": "see", "text": "Reports"},
{"action": "click", "link": "Reports"},
{"action": "switchToContentFrame"},
{"action": "waitForText", "text": "Reports"},

{
    "action": "selectOption",
    "select": "select.t3-js-jumpMenuBox",
    "option": "Installed Services"
},
@linawolf linawolf self-assigned this Nov 7, 2021
linawolf added a commit that referenced this issue Nov 7, 2021
@linawolf
Copy link
Member Author

linawolf commented Nov 7, 2021

related #185

linawolf added a commit that referenced this issue Nov 7, 2021
linawolf added a commit that referenced this issue Aug 22, 2022
* [FEATURE] Navigate directly to a backend module

solves #232

* [FEATURE] Navigate directly to a backend module
fix tests
solves #232

Co-authored-by: lina.wolf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant