Questions tagged [reactjs]

React is a JavaScript library for constructing user interfaces. More information is available at reactjs.org.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
50 views

Device Farm Vendors I have a meeting with them I need some questions [closed]

Firstly thank you for helping me with the previous question regarding device farm vendors. I have a meeting with AWS next week and I'm stuck in regards to what questions I need to ask them. I know I ...
  • 437
1 vote
0 answers
46 views

Delineating unit tests and integration tests in Testing Library for React and unittest

This question is related to Testing Library for React and unittest for Python. I'd like like to have a single file that contains unit tests and integration tests for a component, and be able to target ...
  • 129
-4 votes
1 answer
1k views

Selenium with React dropdown

I am bit stuck on how to automate a dropdown without select tags and select desired values by text/name HTML Code is below <div tabindex="0" direction="ltqr" class="reacst-...
2 votes
1 answer
90 views

Protractor E2E Test Cases migration from Angular 2+ application to React

If we have E2E test cases written for an Angular2+ application using protactor, if we migrate the Angular2+ application to React, how difficult it will be to migrate those E2E test cases to work ...
  • 21
0 votes
1 answer
107 views

Which one is the best tool to test a React JS based application? [closed]

I am looking for a best tool to test a React JS based application. I want to do end to end test with the tool. Could you guys please help me to find the best testing tool for React?
0 votes
0 answers
976 views

How can I mock location.pathname in reactjs

I tried all the possibilities to mock location.pathname This is my code if(typeof location !== undefined) { this.setParentPath(location.pathname); } This is one of the possibility I used to cover ...
2 votes
1 answer
819 views

Typescript function not waiting for the waitForExist() and printing the next line

I'm using webdriverIO with typescript and jest to automate react application. I have a simple test to check how long it takes for a particular element to display on the screen. There's a process ...
  • 49
5 votes
2 answers
8k views

Can developers easily add IDs to a React app?

I am writing Selenium automation against a React application. I would like to have unique IDs added to page elements I am testing. I asked the developers but their response was that this was hard to ...
1 vote
1 answer
155 views

Code coverage in react webapp

I'm a little bit stuck with a task that I have been researching. It's about code coverage in a react webapp. I implemented a few unit tests using jest + enzyme. also some functional test, using ...
1 vote
3 answers
1k views

Looking for a HTML reporter to use with Detox and Jest

I desperately looking for a HTML reporter to use with detox with Jest - I need it for both smoke and regression testing. I am testing a react-native app on iOS I've tried https://www.npmjs.com/...
  • 437
0 votes
1 answer
171 views

Using Page Object Model in React Native iOS

I am using react native with iOS. I have to build an automation framework. I am wondering if it's possible to use Page Object Model? I would like to because with would make the framework robust ...
  • 437
25 votes
7 answers
9k views

Mobile automation: Boss wants 100% coverage. How feasible is that?

Just started a new mobile automation role using react native for iOS. I'm not new to automation, but I am new to React Native (with detox and jest). The learning curve is slow, but we are getting ...
  • 437
2 votes
1 answer
446 views

Migrating from AngularJS to ReactJS or what to do with existing e2e tests

The Story We have a mission critical AngularJS application which we extensively test with e2e tests using Protractor/WebdriverJS. At the current state, we have ~30000 lines of existing e2e tests which ...
  • 11.4k