[MGNLTEST-422] Improve ContentApp item existence check methods Created: 03/Jul/23  Updated: 16/Oct/23  Resolved: 05/Sep/23

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

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Harshini Pola
Resolution: Resolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Improve-ContentApp-API
Work Started:

 Description   

Currently ContentApp provides the methods:

  • boolean hasRow(String itemCaption)
  • boolean rowIsGone(String itemCaption)

Generally, it would be"nicer", actually better to provide

  • boolean hasRow(String path)
  • boolean rowIsGone(String path)

These methods should work

  • both in tree-view andlist-view
  • in tree-view fully-collapsed situation

Needs to be checked what currently works.
Assumption is, that whether it works or not depends on the situation whether something is selected or not.

Proposal:

  • Implement the methods with path parameter.
  • Mark the methods with itemCaption parameter as deprecated.


 Comments   
Comment by Harshini Pola [ 05/Sep/23 ]

Updated, reviewed and merged

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