44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
|
|
This tests the condition that triggers a 'change' event on file input forms.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
Test that the 'change' event is triggered on a single file form when a selected file is changed:
|
|
PASS singleFileInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS singleFileInput.value is "C:\\fakepath\\bar.txt"
|
|
PASS changeDispatched is true
|
|
PASS singleFileInput.value is "C:\\fakepath\\bar.txt"
|
|
PASS changeDispatched is false
|
|
PASS singleFileInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
Test that the 'change' event is triggered on a multiple file form when a selected file is changed:
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\bar.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\bar.txt"
|
|
PASS changeDispatched is false
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
Test that the 'change' event is triggered on a multiple file form when selected files are changed:
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\foo.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\bar.txt"
|
|
PASS changeDispatched is true
|
|
PASS multipleFilesInput.value is "C:\\fakepath\\bar.txt"
|
|
PASS changeDispatched is false
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|