-
Notifications
You must be signed in to change notification settings - Fork 610
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
Inconsistency between UI and backing data in Reports page #1166
Comments
passed
and failed
tabs breaks UI state of the Approved/Approve buttonpassed
and failed
tabs breaks UI state
passed
and failed
tabs breaks UI state
Great catch @shankarsridhar! @1276stella is this because we are not saving |
1276stella
pushed a commit
to 1276stella/BackstopJS
that referenced
this issue
Apr 9, 2020
1276stella
pushed a commit
to 1276stella/BackstopJS
that referenced
this issue
Apr 9, 2020
1276stella
pushed a commit
to 1276stella/BackstopJS
that referenced
this issue
Apr 9, 2020
garris
pushed a commit
that referenced
this issue
Apr 9, 2020
…d page. (#1175) Co-authored-by: Jia Li <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR:
Approve
button seems to be inconsistent with the backing data for the UI.After backstop tests are run, and backstop report page is opened (by running
ember backstop-report
), theApprove
button, if present, comes back after switching between thepassed
andfailed
tabs.Just to be clear, here is what I am referring to as the
![image](https://user-images.githubusercontent.com/4473214/77271852-f7ed1900-6c6c-11ea-8de5-1775ff0c4d46.png)
passed
andfailed
tabs:Expectation:
Approve
button should not be present for tests that have already been approved.Approve
button) should be filtered as passed.What actually happens:
Approve
button is present for tests that have already been approved.If the backstop report page is refreshed, then all the UI state seems to be updated/rendered correctly as per the backing data.
Here is a screen capture to illustrate the problem:
Approve-button-bug.mov.zip
The text was updated successfully, but these errors were encountered: