<commit_before>#  Copyright 2011 <NAME> <<EMAIL>>
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

# System tests using Selenium

from selenium import selenium
import unittest, time, re

class SeleniumTests(unittest.TestCase):
    def setUp(self):
        self.verificationErrors = []
        self.selenium = selenium("localhost", 4444, "*firefox /usr/lib64/firefox-3.6/firefox", "http://localhost/")
        self.selenium.start()

        self.first_user = "SeleniumFirstUser";
        self.second_user = "SeleniumSecondUser";
        self.third_user = "SeleniumThirdUser";
        self.password = "password";
        self.second_logged_in_user_name = "SeleniumSecondUser";
        self.project_name = "SeleniumTestProject";
        self.project_url_name = "seleniumtestproject";
        self.dashboard_suffix = " dashboard - Task Taste";
        self.edited_first_task = "Edited first task"
        self.edited_first_task_again = "Edited first task again"
        self.edited_project_url = "/projects/" + self.third_user + "/" + self.project_url_name;
        self.edited_second_task_size = "42";
        self.edited_project_name = "SeleniumTestProject";
        self.new_task_name = "New task 1, click to edit";
        self.named_task_name = "Named new task";
        self.second_new_task_name = "New task 1, click to edit"; # Same, beause we refresh the page
        self.edited_new_task = "Rename first task so we can create a new one";
        self.second_edited_new_task = "Edited new task";
        self.first_task_name = "First task, click to edit";
        self.second_task_name = "Second task, click to edit";
        self.zero_size = '0';<commit_msg>Update path to Firefox for Mac OS X<commit_after>#  Copyright 2011 <NAME> <<EMAIL>>
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

# System tests using Selenium

from selenium import selenium
import unittest, time, re

class SeleniumTests(unittest.TestCase):
    def setUp(self):
        self.verificationErrors = []
        self.selenium = selenium("localhost", 4444, "*firefox /Applications/Firefox.app/Contents/MacOS/firefox", "http://localhost/")
        self.selenium.start()

        self.first_user = "SeleniumFirstUser";
        self.second_user = "SeleniumSecondUser";
        self.third_user = "SeleniumThirdUser";
        self.password = "password";
        self.second_logged_in_user_name = "SeleniumSecondUser";
        self.project_name = "SeleniumTestProject";
        self.project_url_name = "seleniumtestproject";
        self.dashboard_suffix = " dashboard - Task Taste";
        self.edited_first_task = "Edited first task"
        self.edited_first_task_again = "Edited first task again"
        self.edited_project_url = "/projects/" + self.third_user + "/" + self.project_url_name;
        self.edited_second_task_size = "42";
        self.edited_project_name = "SeleniumTestProject";
        self.new_task_name = "New task 1, click to edit";
        self.named_task_name = "Named new task";
        self.second_new_task_name = "New task 1, click to edit"; # Same, beause we refresh the page
        self.edited_new_task = "Rename first task so we can create a new one";
        self.second_edited_new_task = "Edited new task";
        self.first_task_name = "First task, click to edit";
        self.second_task_name = "Second task, click to edit";
        self.zero_size = '0';
{'fraction_non_alphanumeric': 0.09497716894977169, 'fraction_numerical': 0.008675799086757991, 'mean_word_length': 3.3035363457760316, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5250084', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1273, 'n_words': 396}