def test_partial_update_should_reject_new_string_array_field(self):
        """Test that partial updates to new string arrays are rejected."""
        test_docs = [self.doc, self.doc2, self.doc3]

        for doc in test_docs:
            with self.subTest(f"Adding new string array for document with ID {doc['_id']}"):
                id = doc['_id']
                res = self.config.document.partial_update_documents([{'_id': id, 'string_array3': ["ccc"]}], self.index)
                self.assertTrue(res.errors, f"Expected errors when adding new string array to document {id}")
                self.assertEqual(400, res.items[0].status)
                self.assertIn('Unstructured index updates only support updating existing string array fields',
                              res.items[0].error)
Test that partial updates to new string arrays are rejected.
tests/integ_tests/core/document/test_partial_update_semi_structured.py