mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
447 stars 107 forks source link

When step text is longer, the screenshots become unclickable on "Test results" tab #528

Closed TripleG closed 2 years ago

TripleG commented 2 years ago

Screenshot icons become unclickable when step description is longer.

image

Could you make the text labels to get wrapped when text is too long? Example image

TripleG commented 2 years ago

Hi @adrianth ,

Any thoughts on that? I think effort is very small for this fix, but it causes real inconvenience for us

adrianth commented 2 years ago

That seems to be an unfortunate effect of using the "badge" class from Bootstrap. Sorry to hear that it's causing problems for you team. I should be able to find some time to fix it this week.

adrianth commented 2 years ago

This issue is now fixed with version 1.3.7

TripleG commented 2 years ago

I checked - it seems to be working. Thank you!

TripleG commented 2 years ago

@adrianth ,

Although the $passCheckpoint and $failCheckpoint long messages are fixed, the layout still breaks for standard step descriptions which are longer. Part of the messages are hidden behind the window on the right side. image

Could you please also fix that?

adrianth commented 2 years ago

I can't reproduce the problem you're describing. I'm on version 1.3.7 and checked with both Chrome and Firefox on a Mac. Please make sure you're encountering that error with version 1.3.7 and you haven't used the previous version by mistake.

This is my test:

description: Your test description here
actors:
  - actor: ACTOR1
    segments:
      - segment: 1
        actions:
          - description: This is a {spot bgcolor='red'}Format action{/spot} {spot}with a very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long description to test out the text wrapping functionality{/spot}
            action: org.getopentest.actions.Format
            args:
              template: Nothing here

          - description: This is the script that calls failCheckpoint
            script: |
              $failCheckpoint(
                  "This is a {spot bgcolor='red'}failCheckpoint call{/spot} {spot}with a very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long description to test out the text wrapping functionality{/spot}",
                  "This is the failCheckpoint {spot}message{/spot}"
              );

And this is what I'm seeing in test results: image

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.