Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Question about Modal dialog #795

@nritholtz

Description

@nritholtz

Quick question about the current implementation of the Modal dialog API.

I noticed in the commit for the feature, it mentions Confirm dialogs are accepted by default; dialogs are dismissed. So, when someone adds an accept_confirm for an action, does it override this action of the dialog being accepted by default?

The only reason I ask is that I have a test case scenario (unfortunately cannot post due to proprietary) which prompts a confirm dialog, which is failing intermittently with a Timed out waiting for modal dialog (Capybara::ModalNotFound). I noticed from the failed screenshot, that dialog has already been confirmed. Is it possible that the dialog was already accepted by default before the accept_confirm was called to evaluate the dialog?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions