Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Admin App

Test Case

Admin user should block an fraudulent account successfully

Application

Admin App

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Admin Home Page
    Given I have accessed the Admin Page as admin user
  
  Scenario: Admin user should block an fraudulent account successfully
    Given I have access the fraudulent user profile page
    When I block the fraudulent user profile
    Then user status should be tagged as "blocked"

Test Case

Admin user should unblock an fraudulent account successfully

Application

Admin App

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Admin Home Page
    Given I have accessed the Admin Page as admin user
  
  Scenario: Admin user should unblock an fraudulent account successfully
    Given I have access the fraudulent user profile page
    And the user is already blocked
    When I unblock the fraudulent user profile
    Then user status should be tagged as "unblocked"

Whitelabel App

Test Case

Blocked user should not be able to update his profile

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
    And I have successfully signed in
  
  Scenario: Blocked user should not be able to update his profile 
    Given I have accessed the Settings page
    And I attempt to update my user profile 
    Then I should be logged off from Whitelabel

Test Case

Blocked user should not be able to place new orders

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
    And I have successfully signed in
  
  Scenario: Blocked user should not be able to place new orders
    Given I have a order ready to be placed
    When I access the checkout page
    And I try so place a new order
    Then I should be logged off from Whitelabel

Test Case

Blocked user should be disconnected after 01 hour

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
  
  Scenario: Blocked user should be disconnected after 01 hour
    Given I signed in on Whitelabel
    When my profile is blocked on Admin
    But I don't do any critical operation
    And my user profile has been logged in for one hour
    Then I should be logged off from Whitelabel

Test Case

Blocked user should not be able to generate QR Code

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
  
  Scenario: Blocked user should not be able to generate QR Code
    Given I signed in on Whitelabel
    When my profile is blocked on Admin
    And I attempt to generate a QR Code to place on order on Kiosk
    Then I should be logged off from Whitelabel

Test Case

Blocked user should not be able to sign in

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
  
  Scenario: Blocked user should not be able to sign in
    Given I have valid credentials
    When I attempt to Sign In on Whitelabel
    But my profile is blocked
    Then I should see the message "CUENTA BLOQUEADA TEMPORALMENTE"

Test Case

Blocked user should not be able to sign in using Social Login

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
  
  Scenario: Blocked user should not be able to sign in using Social Login
    Given I have valid credentials
    When I attempt to Sign In on Whitelabel using Social Login 
    But my profile is blocked
    Then I should see the message "CUENTA BLOQUEADA TEMPORALMENTE"

Test Case

Formerly blocked user should be able to sign in again after being unblocked

Application

Whitelabel

Code Block
languagenone
Feature: Fraudulent User Block
  Background: Whitelabel
    Given I have accessed the Whitelelabel home page
  
  Scenario: Formerly blocked user should be able to sign in again after being unblocked
    Given I have valid credentials
    When I attempt to Sign In on Whitelabel using Social Login 
    But my profile is blocked
    Then I should see the message "CUENTA BLOQUEADA TEMPORALMENTE"

Service Notification

Test Case

Service should send email to user once block event is triggered

Application

Service Notification

Code Block
languagenone
Feature: Fraudulent User Block  
  Scenario: Service should send email to user once block event is triggered
    Given a fraudulent user has been blocked on Admin App
    Then I should send a Notification Message to the user email

Test Case

Service should send email to user once unblock event is triggered

Application

Service Notification

Code Block
languagenone
Feature: Fraudulent User Block  
  Scenario: Service should send email to user once unblock event is triggered
    Given a user has been unblock on Admin App
    Then I should send a Notification Message to the user email

Braze

Test Case

User communication preferences should be updated when user is blocked

Application

Braze

Code Block
languagenone
Feature: Fraudulent User Block  
  Scenario: User communication preferences should be updated when user is blocked
    Given a user has been blocked on Admin App
    Then the following fields should be updated
      | preference      | value        |  
      | email_subscribe | unsubscribed |
      | marketingEmail  | false        |
      | rewardsEmail    | false        |
      | push_subscribe  | unsubscribed |
      | marketingPush   | false        |
      | rewardsPush     | false        |
      | sms_subscribe   | false        |
      | Email Opt In    | false        |

Test Case

User communication preferences should be updated when user is unblocked

Application

Braze

Code Block
languagenone
Feature: Fraudulent User Block  
  Scenario: User communication preferences should be updated when user is ublocked
    Given a user has been blocked on Admin App
    Then the following fields should be updated
      | preference      | value       |  
      | email_subscribe | subscribed  |
      | marketingEmail  | true        |
      | rewardsEmail    | true        |
      | push_subscribe  | subscribed  |
      | marketingPush   | true        |
      | rewardsPush     | true        |
      | sms_subscribe   | true        |
      | Email Opt In    | true        |