[MGNLTEST-84] Add shorthand to select row directly Created: 18/Aug/20  Updated: 09/Nov/23  Resolved: 09/Nov/23

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Mikaël Geljić Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLTEST-14 ContentApp#selectRowByPath method nam... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: core-TF-features-bugs-improvements
Story Points: 3
Team: Foundation

 Description   

Selecting (or unselecting) a row currently goes through ContentApp#clickRow while ContentApp#selectRowByPath is used for recursively expanding/selecting an item.

Naming is a bit inconsistent, as well as behavior, since one pretends not to know if a row is selected while the latter actually checks for that.

A #selectRow method would make sense (and or #expand, so that selecting by absolute path can be written in "fluent" manner, not bypassing explicit user action).

  • support in both M6 content-apps and legacy content-apps.
  • throw a meaningful exception when trying to select by path or expanding while not on a tree-view.


 Comments   
Comment by Christoph Meier [ 09/Nov/23 ]

With the improvements in context of MGNLTEST-419 - we should be fine here

Generated at Mon Feb 12 07:45:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.