# React components not being rendered when running feature specs on circleci

**URL:** <https://discuss.circleci.com/t/react-components-not-being-rendered-when-running-feature-specs-on-circleci/41715>\
**Category:** Running Tests\
**Tags:** rails, rspec, capybara, react\
**Created:** [October 30, 2021, 8:12pm UTC](https://discuss.circleci.com/t/react-components-not-being-rendered-when-running-feature-specs-on-circleci/41715 "2021-10-30T20:12:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lidimayra](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lidimayra/32/28485_2.png) [@lidimayra](https://discuss.circleci.com/u/lidimayra)\
**Post date:** [October 30, 2021, 8:12pm UTC](https://discuss.circleci.com/t/react-components-not-being-rendered-when-running-feature-specs-on-circleci/41715/1 "2021-10-30T20:12:59Z")

</div>

Hello!  
I have a small Rails project and the front-end is built with ReactJS.  
I have some feature specs, and they work fine locally, but fail when running on circleci.

My last attempt can be found here:

> **[Commits · lidimayra/url-shortener](https://github.com/lidimayra/url-shortener/commits/setup-xvfb)**
>
> URL Shortener made with Ruby on Rails and ReactJS. Contribute to lidimayra/url-shortener development by creating an account on GitHub.

And this is the link to the failing build:  
[https://app.circleci.com/pipelines/github/lidimayra/url-shortener/200/workflows/64417004-d26b-442f-b9aa-6b711bea170e/jobs/215](https://app.circleci.com/pipelines/github/lidimayra/url-shortener/200/workflows/64417004-d26b-442f-b9aa-6b711bea170e/jobs/215)

The HTML page is rendering fine, but the react components are not.  
Would someone know what I could do to fix this?

Many thanks!!

---

<div class="post-metadata">

**Author:** ![lidimayra](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lidimayra/32/28485_2.png) [@lidimayra](https://discuss.circleci.com/u/lidimayra)\
**Post date:** [October 30, 2021, 8:13pm UTC](https://discuss.circleci.com/t/react-components-not-being-rendered-when-running-feature-specs-on-circleci/41715/2 "2021-10-30T20:13:24Z")

</div>

oh, and this is my circleci config:

> <https://github.com/lidimayra/url-shortener/blob/5a663a5a53af1b431c567576974a7156cebe7896/.circleci/config.yml>
