Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
0ee921d5
Commit
0ee921d5
authored
4 years ago
by
Marc Egger
Browse files
Options
Downloads
Patches
Plain Diff
fix selenium gitlabci
parent
d12cb148
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!302
Develop
,
!296
Marc: Form/Report As File, Path class, Config class, Typo3 v9 compatability
Pipeline
#4017
failed
4 years ago
Stage: before
Stage: build
Stage: selenium
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+0
-5
0 additions, 5 deletions
Makefile
extension/Tests/selenium/qfqselenium.py
+3
-0
3 additions, 0 deletions
extension/Tests/selenium/qfqselenium.py
with
3 additions
and
5 deletions
Makefile
+
0
−
5
View file @
0ee921d5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
extension/Tests/selenium/qfqselenium.py
+
3
−
0
View file @
0ee921d5
...
...
@@ -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
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment