Skip to content

fix(test): fix e2e test #825

fix(test): fix e2e test

fix(test): fix e2e test #825

GitHub Actions / e2e tests succeeded Oct 10, 2024 in 0s

20 passed, 0 failed and 0 skipped

Tests passed successfully

✅ e2e-junit.xml

20 tests were completed in 10s with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests/e2e/liane.test.ts 1✅ 926ms
tests/e2e/session.test.ts 7✅ 5s
tests/e2e/signUp.test.ts 5✅ 3s
tests/e2e/tiles.test.ts 1✅ 589ms
tests/e2e/trip.test.ts 6✅ 8s

✅ tests/e2e/liane.test.ts

tests/e2e/liane.test.ts
  ✅ Liane as a community > User A > Should create new liane request

✅ tests/e2e/session.test.ts

tests/e2e/session.test.ts
  ✅ Session > Should refresh token from http service
  ✅ Session > Should refresh token from hub
  ✅ Session > Should retry http request after network error
  ✅ Session > Should returns original error after max retries
  ✅ Session > Should refresh token after network error
  ✅ Session > Should not send request while refreshing token
  ✅ Session > Should not refresh with invalid token

✅ tests/e2e/signUp.test.ts

tests/e2e/signUp.test.ts
  ✅ Signing up and authenticating > Should be undefined
  ✅ Signing up and authenticating > Should sign up new user
  ✅ Signing up and authenticating > Should delete account
  ✅ Signing up and authenticating > Should log in existing user
  ✅ Signing up and authenticating > Should fail signing up with with a name too short

✅ tests/e2e/tiles.test.ts

tests/e2e/tiles.test.ts
  ✅ Displaying trips > Should create new liane

✅ tests/e2e/trip.test.ts

tests/e2e/trip.test.ts
  ✅ Joining a trip > User B > Should create a liane and post a new trip
  ✅ Joining a trip > Member added > User A join the trip
  ✅ Joining a trip > User B > Should have a passenger
  ✅ Joining a trip > User 1 > Should be member of the trip
  ✅ Joining a trip > Both users > Should start the trip
  ✅ Joining a trip > Both users > Should use geolocation