Posted on May 24, 2022Categories Amplify, AWS, Development, JavaScript, TechnologyTags , , , , , ,   Leave a comment on React Build Settings on Amplify

React Build Settings on Amplify

The technology stack that was inherited from the prior tech team at Research Blocks came with some outdated methodologies. One of those areas was in the deployment of React applicationa on EC2 instances. For Single Page Applications (SPAs), like React, there are better options for rapidly deploying a scalable production app. The Amplify environment also makes it very easy to stand up multiple instances of the application container. These canrepresent different builds such as a development, staging, or test environments. … Continue reading “React Build Settings on Amplify”

Posted on April 13, 2022Categories Apple, Development, JavaScript, TechnologyTags , , , , , , ,   Leave a comment on MacOS Monterey Node Port 9000 Refused

MacOS Monterey Node Port 9000 Refused

I’ve been working on a React App for months that connects on localhost port 9000. Recently the app stopped working after an upgrade to Monterey. Turns out the upgrade also required a number of services to be re-installed via brew. One of those services, php-fpm, is now taking over port 9000 automatically on startup despite not having explicitly set the updated PHP version to run at start. As such, opening http://localhost:9000/ on the browser was routing to PHP apps and … Continue reading “MacOS Monterey Node Port 9000 Refused”

Posted on February 24, 2019Categories JavaScript, Quality Assurance, TechnologyTags , , ,   Leave a comment on Selenium IDE3 Using If and Variables

Selenium IDE3 Using If and Variables

Selenium IDE3 is continually evolving and has become my new tool-of-choice for testing web apps from the user experience perspective. Some of the features of the older Selenium IDE, such as rollups, are not supported. This has required some time to learn how to recreate test scripts in the new IDE. Along the way I’ve learned some tricks which are not documented on the main Selenium IDE site. Creating Selenium IDE3 Variables Using variables in Selenium IDE3 is similar to … Continue reading “Selenium IDE3 Using If and Variables”

Posted on August 23, 2018Categories JavaScript, Plugin Development, Programming, Programming Languages, Technology, WordPressTags , , , , , ,   Leave a comment on Vue – JavaScript Library Outside Google/Facebook Control

Vue – JavaScript Library Outside Google/Facebook Control

Vue is running on several projects to create a better admin user experience. Vuetify is layered on top and baked into WordPress themes and plugins. You will need to add a little custom CSS to stop WordPress from stomping on the UX. You’ll also add a small localize script to seed Vue with relevant data from WordPress. A little REST applet to serve Vue requests and you get a fast good looking responsive app with far less effort than custom … Continue reading “Vue – JavaScript Library Outside Google/Facebook Control”

Posted on February 15, 2018Categories JavaScript, Quality AssuranceTags , , , , , , , 1 Comment on CypressIO Simplifies Web App Testing

CypressIO Simplifies Web App Testing

After discussing projects over the past week, one of the guys at Automattic brought up CypressIO.   If you’ve been following the recent posts on Lance.Bio you know that the path to running automated web testing has run from Selenium IDE, the QA tool of choice for the past few years for Store Locator Plus, to recent forays into Selenium Webdriver.      Webdriver is powerful but difficult to code and soon led to the discovery of WebdriverIO, then Mocha and … Continue reading “CypressIO Simplifies Web App Testing”

Posted on February 14, 2018Categories JavaScript, Quality Assurance, TechnologyTags , , , , , 1 Comment on WebdriverIO and Mocha For Better Test Reports

WebdriverIO and Mocha For Better Test Reports

In a continuing series on using WebdriverIO with Selenium we are going to focus on getting better reporting output now that our environment is setup.  The previous article on setting up WebdriverIO should have you up-and-running with basic tests.   Now it is time to use some of that “Mocha flavoring” to get useful reports out of our tests.   WebdriverIO and Mocha gives you the tools to group together tests and report the results in plain text. Adding Mocha to a … Continue reading “WebdriverIO and Mocha For Better Test Reports”

Posted on February 7, 2018Categories JavaScript, Programming Languages, TechnologyTags , , , , ,   Leave a comment on Optimizing JavaScript for Chrome

Optimizing JavaScript for Chrome

A recent discussion with a tech guru at Automattic posed a great question — how does JavaScript asynchronous processing work on a single-threaded app?  Great question, but before I found out how that worked I decided to refresh my knowledge on how JavaScript manages the call stack.   Turns out a LOT has changed in 10 years and it turns out Google’s V8 engine was launched. What is V8? V8 was very likely a result of Google Maps.    Google … Continue reading “Optimizing JavaScript for Chrome”