Lately script_tests.TestScriptGenerator fails with test_newitem:
======================================================================
FAIL: test_newitem (tests.script_tests.TestScriptGenerator)
Test running newitem -simulate -page:Foobar -always -site:wikipedia:en.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\projects\pywikibot\tests\script_tests.py", line 240, in test_script
self.assertIn(error, err_result)
AssertionError: 'Script terminated successfully' not found in 'WARNING: You are logged in as Pywikibot-test, an account that is not in the\r\nautoconfirmed group on wikipedia:en. Script will not touch pages\r\nlinked to newly created items to avoid triggering edit rates or\r\ncaptchas. Use -touch param to force this.\r\nWARNING: NewItemRobot.__init__ set the Bot.site property; this is only needed when the Bot accesses many sites.\r\nPage age is set to 21 days so only pages created\r\nbefore 2023-07-19T10:01:09Z will be considered.\r\n\r\nLast edit is set to 7 days so only pages last edited\r\nbefore 2023-08-02T10:01:10Z will be considered.\r\n\r\nRetrieving 1 pages from wikipedia:en.\r\n'
----------------------------------------------------------------------The reason is that te Pywikibot-test account is confirmed at en-wiki bot not autoconfirmed as needed by the script due to T199936