Volt Framework integration test with Phantom not populating page with objects in store

51 views Asked by At

I'm having a page show a list of objects (for example, some todos in a todo list), and the list does not successfully get populated in integration tests with phantom.

Feature works in a regular browser, and I can verify I'm successfully populating the database for the test, but nothing shows up when I use Capybara to verify that they're on the page. They don't appear on the page in the phantom browser at all, as far as I can tell (fiddled around with byebug to be sure).

Volt is version 0.9.3.

1

There are 1 answers

2
Ryan On

This is a limitation of volt that I need to fix. Currently integration tests don't sync between the_page in the spec and page on the client side. (store works fine if that helps) Hopefully I can get some time soon to make this work. (Or if anyone wants to help me, hit me up in gitter)