DescriptionAdd browser test to the sharing dialog feature in Files.app.
This patch adds an end-to-end test for the sharing dialog. It uses a mocked sharing dialog implementation. This browser test validates:
- If passing the sharing url from the drive service works correctly.
- If clicking on the Share button invokes the sharing dialog.
- If the communication over messages with the share dialog works correctly: Handshake, displaying contents, synchronizing dimensions.
- If the window is closed when the button in the sharing dialog is pressed.
All of these steps are tested for both - a file and a directory.
TEST=browser_tests:*ShareDialog/FileManagerBrowserTest.Test/*
BUG=268221
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215810
Patch Set 1 #Patch Set 2 : Cleaned up. #
Total comments: 6
Patch Set 3 : Fixed. #Patch Set 4 : Addressed comments. #Patch Set 5 : Fixed jsdoc. #
Total comments: 16
Patch Set 6 : Addressed comments. #Patch Set 7 : Added the licence header. #Messages
Total messages: 16 (0 generated)
|