From 7464607195bb84b2a7b6f1e2ad3b208fe37dc336 Mon Sep 17 00:00:00 2001 From: Lev Lazinskiy Date: Wed, 8 Jun 2016 19:02:46 -0700 Subject: Add acceptance tests Basic Framework for working with Selenium with PHPUnit and Firefox. Future acceptance tests just need to extend Base.php and implement various flows that we wish to test. --- tests/acceptance/Base.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/acceptance/Base.php (limited to 'tests/acceptance/Base.php') diff --git a/tests/acceptance/Base.php b/tests/acceptance/Base.php new file mode 100644 index 00000000..e8684a9b --- /dev/null +++ b/tests/acceptance/Base.php @@ -0,0 +1,18 @@ +setHost(SELENIUM_HOST); + $this->setPort((integer) SELENIUM_PORT); + $this->setBrowserUrl(KANBOARD_APP_URL); + $this->setBrowser(DEFAULT_BROWSER); + } + + public function tearDown() + { + $this->stop(); + } +} -- cgit v1.2.3