Giter Club home page Giter Club logo

frontend-login-kata's Introduction

Frontend Login Kata

Things to train:

  • Refactoring
  • Architecture
  • Emergent Design

Welcome to ÜberTesting S.A.! We are currently facing numerous challenges with our testing suite. Our previous developer left our website in a less-than-ideal state, akin to what's humorously referred to as an "Ice Cream Cone" testing pyramid. Consequently, our tests are running slowly, leading to increased costs in our CI pipeline.

Moreover, our Login page is in disarray, with intertwined API requests, local storage mutations, and other complexities that hinder effective testing. Any attempts to modify this page result in significant time wastage.

Screenshot of the login page

Your task is to enhance the testing topology, code readability, and architecture of this specific page. While there are other issues present (such as the Recipes page), we will address them in subsequent sprints.

We've implemented a mocked login to simplify your testing process. You can use the account of Linus Torvalds for logging in as many times as necessary. Email: [email protected], Password: ilovecats.

Additionally, please make an effort to run the End-to-End (E2E) tests extensively. Aim to keep them consistently passing ("green"). Our objective is to ensure the code remains deployable at all times.

In summary:

  • Aim to improve the architecture design of the Login page.
  • Implement unit tests to prevent the formation of an "Ice Cream Cone" testing pyramid.
  • Stay always in green

Have fun!

frontend-login-kata's People

Contributors

goyoregalado avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.