Commit 0ee921d5 authored by Marc Egger's avatar Marc Egger
Browse files

fix selenium gitlabci

parent d12cb148
Pipeline #4017 failed with stages
in 3 minutes and 13 seconds
......@@ -116,16 +116,11 @@ phpunit:
# update composer with dev to install phpunit package
cd extension; composer update
# create deprecated test config files and get test database password from environment variable
# cp -v extension/Tests/phpunit_config.qfq.php extension/config.qfq.php; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" extension/config.qfq.php
# cp -v extension/Tests/phpunit_LocalConfiguration.php extension/LocalConfiguration.php
# mock typo3 directory structure
mkdir -p typo3conf/ext/qfq
mv -v extension/* typo3conf/ext/qfq/
# create new kind of config (qfq.json)
# cp -v typo3conf/ext/qfq/Tests/phpunit_qfq.json typo3conf/ext/qfq.json; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" typo3conf/ext/qfq.json
cp -v typo3conf/ext/qfq/Tests/phpunit_qfq.json ../qfq.json; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" ../qfq.json
cp -v typo3conf/ext/qfq/Tests/phpunit_LocalConfiguration.php typo3conf/LocalConfiguration.php
......
......@@ -112,6 +112,9 @@ class QfqSeleniumTestCase(unittest.TestCase):
cls.driver.set_window_size(1920, 1080)
cls.driver.implicitly_wait(5)
def __init__(self, *args, **kwargs):
super(QfqSeleniumTestCase, self).__init__()
@classmethod
def tearDownClass(cls):
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment