Skip to content
This repository was archived by the owner on Aug 7, 2019. It is now read-only.
This repository was archived by the owner on Aug 7, 2019. It is now read-only.

Knockout in iFrame #26

@Stewartarmbrecht

Description

@Stewartarmbrecht

I am not sure if this is UITest related but maybe someone here can help. I am using UITest.js to test a knockout application.
In the application I have a text box. The text input's value is bound to a knockout observable: . When I try to update the value in the UITest window with jquery the knockout binding does not update:
$('#uitestwindow').contents().find('#menuOptionName').val('Test') // $root.selectedName not updated.
However, if I do the same thing when the application is loaded in its own window it works:
$('#menuOptionName').val('Test').change() // $root.selectedName IS updated.
Could there be something in the UITest setup that breaks this?

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