spdx-online-tools icon indicating copy to clipboard operation
spdx-online-tools copied to clipboard

#200 - Fixing test_archive_license_requests_feature and test_unarchive_license_requests_feature

Open BanulaKumarage opened this issue 1 year ago • 0 comments

  • Logged in with the user setup in secrets.py
  • Add client sessionid to selenium driver
  • Mocked the app.utils.checkPermission to return true

When the app.utils.checkPermission returns true, context_dict['authorized'] becomes true and that cause archive/ unarchive buttons visible in the UI.

image

BanulaKumarage avatar Apr 01 '23 08:04 BanulaKumarage