summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-11app/test/test_add_word.py: refresh a few more times.maodun-revisionHui Lan
2021-02-11app/main.py: change position of the button.Hui Lan
2021-02-11app/main.py: enlarge range.Hui Lan
2021-02-11app/main.py: redefine within range function.Hui Lan
2021-02-11app/test/test_add_word.py and app/main.py: use name.Hui Lan
2021-02-11app/test/test_add_word.py: refresh page.Hui Lan
2021-02-11app/test/test_add_word.py and app/main.py: give the button an ID.Hui Lan
2021-02-11app/test/test_add_word.py: no longer save any screenshot.Hui Lan
2021-02-11app/test/test_add_word.py: remove the error-causing line.Hui Lan
2021-02-11app/test/test_add_word_and_essay_does_not_change.py: update script.Hui Lan
2021-02-11app/test/test_next_essay.py: update test script.Hui Lan
2021-02-11app/test/test_add_word.py: move the position of saving screenshots.Hui Lan
2021-02-11app/main.py: should always compute text difficulty level.Hui Lan
2021-02-11app/main.py: choose an article only when articleID is None.Hui Lan
2021-02-11app/test/test_add_word.py and app/test/test_add_word.py: move to the matched ↵Hui Lan
word before taking the screenshot.
2021-02-11app/test/test_add_word.py and ↵Hui Lan
app/test/test_add_word_and_essay_does_not_change.py: change index of form, as I have removed the link form.
2021-02-11main.py: fix typo.Hui Lan
2021-02-11main.py: use article ID instead of article content as session value.Hui Lan
2021-02-11add a column article_id to database table article.Hui Lan
2021-02-11main.py: add ).Hui Lan
2021-02-11main.py: use link instead of form.Hui Lan
2021-02-10app/main.py and app/test/test_add_word.py: use class instead of id.Hui Lan
2021-02-10app/main.py: usename is passed from the function argument list.Hui Lan
2021-02-10app/main.py: remove article information.Hui Lan
2021-02-10app/test/test_add_word.py: do not save pic0.Hui Lan
2021-02-10app/test/test_add_word.py: fix wrong indentation.Hui Lan
2021-02-10app/test/test_*.py: add implicit waits.Hui Lan
2021-02-10Jenkinsfile: adding DBUS_SESSION_BUS_ADDRESS did not solve the problem.Hui Lan
2021-02-10Jenkinsfile: DBUS_SESSION_BUS_ADDRESS ↵Hui Lan
https://github.com/SeleniumHQ/docker-selenium/issues/392.
2021-02-10app/test/test_*.py: try ... finally clause.Hui Lan
2021-02-10app/test/test_add_word.py: logout first.Hui Lan
2021-02-10app/test/test_add_word_and_essay_does_not_change.py: logout first.Hui Lan
2021-02-10app/test/test_add_word_and_essay_does_not_change.py: click Next should give ↵Hui Lan
us another essay (in most cases).
2021-02-10app/test/test_next_essay.py: click Next three times so that it is very ↵Hui Lan
unlikely the essay won't change.
2021-02-10app/test/test_add_word_and_essay_does_not_change.py: essay should change ↵Hui Lan
when Next button is clicked.
2021-02-10app/test/test_add_word_and_essay_does_not_change.py: test that essay does ↵Hui Lan
not change unless Next button is clicked.
2021-02-10app/test/test_add_word.py: locate the correct form.Hui Lan
2021-02-10app/test/test_next_essay.py: update element search method.Hui Lan
2021-02-10main.py: put article in session.Hui Lan
2021-02-10main.py: get the next article only when it is explicitly clicked. ↵Hui Lan
Contributed by Mao Dun <794811132@qq.com>.
2021-02-08Jenkinsfile: add two command-line arguments -v -s to pytest.Hui Lan
2021-02-08app/test/test_add_word.py: select a word that does not have punctuation.Hui Lan
2021-02-08Jenkinsfile: use 'python3 -m pytest' instead of 'pytest' alone.Hui Lan
2021-02-08app/test/test_*.py: add # -*- coding: utf-8 -*- to resolve the pytest error: ↵Hui Lan
SyntaxError: Non-ASCII character.
2021-02-08Jenkinsfile: change directory to the folder where test scripts reside.Hui Lan
2021-02-08Jenkinsfile: pytest will load all test scripts in ./app/test.Hui Lan
2021-02-07app/test/test_add_word.py: remove one screenshot.Hui Lan
2021-02-07app/test/test_add_word.py: word should have more characters (revision).Hui Lan
2021-02-07app/test/test_add_word.py: word should have more characters.Hui Lan
2021-02-07app/test/test_add_word.py: scroll to the element.Hui Lan