MarketSquare / MarketSquare/AssertionEngine

Matches should work also with multiline strings

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
14
Forks
6
Avg merge
1h 40m
Merged PRs (30d)
5

Description

When keyword returns multi line string, like

```
HOME
Workbox
```
then

✅ Get Text element matches HOME
✅ Get Text element matches Workbox
❌ Get Text element matches HOME.*Workbox

It would be great if there would be some support out of the box for result strings which are multiline.

(See also https://robotframework.slack.com/archives/C015KB1QSDN/p1701255745908669)

Originally from https://github.com/MarketSquare/robotframework-browser/issues/3292

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the assertion matching implementation and its existing matching tests, then reproduce the multiline result described in the issue. Add coverage for matching HOME.*Workbox across the returned lines, while preserving the existing single-line matches; done means the multiline case passes without breaking the current cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.