Posts

Showing posts from 2020

Fixing the appium installation with NPM

Problem Statement: npm install -g appium returns the below     npm install -g appium  npm ERR! code ENOENT  npm ERR! syscall chmod  npm ERR! path /usr/local/lib/node_modules/appium/build/lib/main.js  npm ERR! errno -2 Solution The directory npm is trying to modify is not owned by the user that is executing the command. Grant the permissions to the user executing the command and the issue should be resolved.  Here are the commands:  sudo chown -R `whoami` ~/.npm sudo chown -R `whoami` /usr/local/lib/node_module Uninstall the appium npm uninstall -g appium Re-install appium npm install -g appium

Cross Browser testing for React Apps

Before we discuss the need of cross browser testing for React apps lets get a quick essence of why do people use react to develop their apps and what is cross browser testing. React React and React Native , support all the major browsers across platforms ability. It means that if one would want to build an application for iOS and android platform, all they would do is have a single code base and rest is taken care by react to make it cross platform. In addition to it the support for all the major browsers and has been tested, however with a little limitations for older browser where the polyfills are used to support them. Cross browser Testing Cross browser testing helps you validate if your application is compatible across different browsers, platforms and devices. It becomes important today to support all the major browsers and the devices as it is almost impractical to control what platform or browsers the users would use to access your application i