Skip to content

test(integration): add Files deep and shallow scan tests - #236

Open
rsmanasa-google wants to merge 1 commit into
test/integration-chatfrom
test/integration-files
Open

rsmanasa-google wants to merge 1 commit into
test/integration-chatfrom
test/integration-files

Conversation

@rsmanasa-google

Copy link
Copy Markdown
Collaborator

Runs the Files planner against the test tenant on a SharePoint site and on a OneDrive user, each named in an uploaded CSV, in deep scan and in shallow scan. That is four test classes sharing one set of checks:

  • The scan completes without errors and the run log has no [ERROR] or [WARNING] line.
  • The site report has one row per scanned entry, with no entry twice.
  • The batch CSVs are written with the right header.
  • Shallow scan only: the planner's own certificate check passes, and the report shows no failed document library.

Counts and ETAs are not compared.

Shallow scan signs in with a certificate that is already registered on the test app. The tests do not create or upload one. If the certificate files are missing where credentials are required, the test fails with a clear message instead of letting the planner generate a new, unregistered certificate.

Runs the Files planner on a SharePoint site and a OneDrive user, in deep
scan and shallow scan. Shallow scan also checks that the registered
certificate is accepted and that no document library failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant