@Test
    @Order(7)
    void advancedMultipleUploadAllowTypes(Page page) {
        // Arrange
        FileUpload fileUpload = page.fileupload;
        wait4EmptyMesssage(page.uploadedFiles);
        assertEquals("", fileUpload.getValue());

        // Act
        File file = locateClientSideFile("file1.png");
        fileUpload.setValue(file);
        assertTrue(fileUpload.getWidgetValues().isEmpty(), fileUpload.getWidgetValues().toString());
        // upload button is not visible
        assertTrue(fileUpload.getWidgetErrorMessages().toString().contains("Invalid file type"), fileUpload.getWidgetErrorMessages().toString());

        // Assert
        assertNoJavascriptErrors();
        assertUploadedFiles(page.uploadedFiles);
        assertConfiguration(fileUpload);
    }
Tests advanced multiple sequential file upload.
p:fileUpload mode=advanced auto=false multiple=true dragDrop=false sequential=true
primefaces-integration-tests/src/test/java/org/primefaces/integrationtests/fileupload/FileUpload009Test.java