Skip to content
  • Robert Lyon's avatar
    Bug 1774274: Added scenarios that incorporate checking popups · 1eb72aa4
    Robert Lyon authored
    
    
    To allow checking for a popup we need to stop the after_step hook
    closing the popup before we check it.
    
    To do this we need to add tag called @allow_popups to the feature file
    so that popups stay open for the next step to check
    
    To use with steps:
    - And I should not see a popup
    - And I accept the alert popup
    - And I accept the confirm popup
    - And I cancel the confirm popup
    - And I should see "text" in popup
    
    Change-Id: I5fa4827b12b355204141dd8b052bc4f5c77ae3a0
    Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
    1eb72aa4