logto icon indicating copy to clipboard operation
logto copied to clipboard

test(test): add passwordless integration test

Open simeng-li opened this issue 2 years ago • 2 comments

Summary

Add passwordless integration test

  • update the email & SMS connector mock to write passcode to /temp/logto_mock_passcode_record so can be read by the test case
  • remove the connector integration test's initial empty status check as the test order is not guaranteed.

Testing

test locally @logto-io/eng

simeng-li avatar Jul 28 '22 09:07 simeng-li

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +7.56 KB

Diff by File
Name Diff
packages/connector-mock-mail/src/index.ts :chart_with_upwards_trend: +211 Bytes
packages/connector-mock-sms/src/index.ts :chart_with_upwards_trend: +209 Bytes
packages/integration-tests/src/api/session.ts :chart_with_upwards_trend: +2.31 KB
packages/integration-tests/src/helpers.ts :chart_with_upwards_trend: +792 Bytes
packages/integration-tests/src/utils.ts :chart_with_upwards_trend: +197 Bytes
packages/integration-tests/tests/connector.test.ts :chart_with_upwards_trend: +292 Bytes
packages/integration-tests/tests/session.test.ts :chart_with_upwards_trend: +4.15 KB

github-actions[bot] avatar Jul 28 '22 10:07 github-actions[bot]