{e2e}

Challenges and Lessons Learned during my internship at IndieBI

# CHAPTER 2

IndieBI App

My first impressions

Big Thank You To....

Text

Robert

For very deep introduction to IndieBI app

# CHAPTER 2

Playwright !== Cypress

Things which surprised me after switching from Cypress to Playwright

We are not in Kansas anymore...

# PRESENTING CODE
  • Thing number 1

  • Thing number 2

    • I was also surprised by....

    • but ....

  • Thing number 3

# CHAPTER 2

Registration

How to get activation code

E2E Chalange #1

Problems

# PRESENTING CODE
  • Do we really want to log in to Gmail/Outlook/etc?

    • coded needed to log in to email..

    • possible captcha

  • Email Parsing

  • Tests needs new email addresses, not just one

Solution

# PRESENTING CODE
  • Temporary email service

    • preferably with API access

    • preferably free or with big enough free plan

  • RegEx - To parse Email body to get the code

// Measure the distance between two points
const distanceBetween = ( p1, p2 ) => {
  const dx = p1[0]-p2[0];
  const dy = p1[1]-p2[1];

  return Math.sqrt( dx*dx + dy*dy );
}

distanceBetween([10,10], [50,50])
# PRESENTING CODE

Generating new Email account 

e2e

By noisy

e2e

  • 160