Skip to content

Issue/13326 missing server credentials#13931

Merged
ashiagr merged 5 commits intodevelopfrom
issue/13326-missing-server-credentials
Feb 2, 2021
Merged

Issue/13326 missing server credentials#13931
ashiagr merged 5 commits intodevelopfrom
issue/13326-missing-server-credentials

Conversation

@malinajirka
Copy link
Copy Markdown
Contributor

Parent issue #13326

This PR fixes an issue where snackbar was not being shown when the server returned a response containing all threats in "NOT_FIXED" status. It also adds "invokedByUser" flag so the snackbar is shown only when the action is invoked by the user - it's not shown, when it's eg invoked by vm's "init()" method.

To test:
Prerequisites

  • Make sure Scan feature flag is enabled
  1. Select a site which doesn't have sever credentials and has some threats
  2. Select Scan
  3. Make sure snackbar is not shown when you open the screen
  4. Click on "Fix threat" button
  5. Verify a snackbar saying that you need to contact support is shown

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@malinajirka malinajirka added this to the 16.7 milestone Feb 1, 2021
@malinajirka malinajirka requested a review from ashiagr February 1, 2021 18:32
@malinajirka malinajirka self-assigned this Feb 1, 2021
@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Feb 1, 2021

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Feb 1, 2021

You can test the changes on this Pull Request by downloading the APK here.

@malinajirka malinajirka mentioned this pull request Feb 2, 2021
67 tasks
Copy link
Copy Markdown
Contributor

@ashiagr ashiagr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected, thank you for the changes!

@ashiagr ashiagr merged commit 607cf81 into develop Feb 2, 2021
@ashiagr ashiagr deleted the issue/13326-missing-server-credentials branch February 2, 2021 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants