mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Run Selenium tests against port 8080 to avoid conflicts.
This commit is contained in:
parent
89e3149479
commit
0f13fb9c43
@ -22,6 +22,6 @@ before_script:
|
||||
- sleep 3 # give xvfb some time to start
|
||||
|
||||
script:
|
||||
- docker run --name pandorafms -h pandorafms -dt -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 127.0.0.1:80:80 pandorafms/pandorafms-base tail -f /var/log/messages
|
||||
- docker run --name pandorafms -h pandorafms -dt -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 127.0.0.1:8080:80 pandorafms/pandorafms-base tail -f /var/log/messages
|
||||
- docker exec -t pandorafms /tmp/pandorafms/tests/test.sh
|
||||
- python $TRAVIS_BUILD_DIR/tests/run_console_tests.py
|
||||
|
@ -52,7 +52,7 @@ class PandoraWebDriverTestCase(TestCase):
|
||||
cls.display = Display(visible=0, size=(800, 600))
|
||||
cls.display.start()
|
||||
cls.driver = webdriver.Firefox()
|
||||
cls.base_url = "http://127.0.0.1/"
|
||||
cls.base_url = "http://127.0.0.1:8080/"
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
Loading…
x
Reference in New Issue
Block a user