A trap focus function you need for your modals

As Accessibility gets more and more important there are some functions that you would find useful in every front end project you work on. One of them is the trap focus function. The function which allows the focus to happen only to the children of a container, in our example to our modal.

Read More

How to test your React application

Whenever I start a new React project, I always find it helpful to look back at my previous projects to remind me how best to test actions, components and reducers. I’ll try to organise everything in one place — this blog post.

Read More

Create your first automated end-to-end test in 5 minutes (with Chimp JS)

About a year ago I was assigned a project to create the structure for automated end-to-end testing. This could give us the benefit to test the functionality of some basic pages like registration, login etc and generally give us a piece of mind that we didn’t break anything critical. There were a few things that I should have taken into consideration to complete this project:

Read More