001 Scenario: Add a post to a discussion with a file attached and retrieve the originality score # /var/www/html/plagiarism/turnitin/tests/behat/forum.feature:53
And I add a "Forum" to section "1" and I fill the form with: # /var/www/html/plagiarism/turnitin/tests/behat/forum.feature:37
Field matching locator "Enable Turnitin" not found. (Behat\Mink\Exception\ElementNotFoundException)
1 scenario (1 failed)
63 steps (15 passed, 1 failed, 47 skipped)
0m55.09s (68.03Mb)
To re-run failed processes, you can use following command:
php admin/tool/behat/cli/run.php --format="pretty" --format="progress" --format="moodle_screenshot" --colors /var/www/html/plagiarism/turnitin/tests/behat/forum.feature:53 --rerun
--- Failed steps:
001 Scenario: A submission can be queued and sent to Turnitin for a workshop # /var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:49
And I add a "Workshop" to section "1" and I fill the form with: # /var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:37
Field matching locator "use_turnitin" not found. (Behat\Mink\Exception\ElementNotFoundException)
1 scenario (1 failed)
43 steps (15 passed, 1 failed, 27 skipped)
0m52.23s (67.99Mb)
To re-run failed processes, you can use following command:
php admin/tool/behat/cli/run.php --format="pretty" --format="progress" --format="moodle_screenshot" --colors /var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:49 --rerun
The reason is that when the test is trying to set the following
| Enable Turnitin | 1 |
| Check against stored student papers | 1 |
| Display Similarity Reports to Students | 1 |
those settings are missing from the activity
what it should see 'turnitin plagiarism plugin settings'
The 'turnitin plagiarism plugin' settings is only visible when setting a valid Tunritin Account ID and Shared Key. I have tried with fake credentials to get the menu to appear but it showing error as unable to authenticate.
In the feature there are steps to set credentials but the test just leaves them blank.
And I configure Turnitin URL
And I configure Turnitin credentials
Moodle 3.11.5+ (Build: 20220218) Php: 7.4, mysqli: 5.7.36
The following features are failing on the following steps
var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:49 var/www/html/plagiarism/turnitin/tests/behat/forum.feature:53 var/www/html/plagiarism/turnitin/tests/behat/installed.feature:26 var/www/html/plagiarism/turnitin/tests/behat/pseudo_submission.feature:51 var/www/html/plagiarism/turnitin/tests/behat/assignment_groups.feature:57 var/www/html/plagiarism/turnitin/tests/behat/eula.feature:44 var/www/html/plagiarism/turnitin/tests/behat/assignment_drafts.feature:49 var/www/html/plagiarism/turnitin/tests/behat/assignment_drafts.feature:120 var/www/html/plagiarism/turnitin/tests/behat/assignment_multiple_files.feature:45 var/www/html/plagiarism/turnitin/tests/behat/assignment_resubmission.feature:45 var/www/html/plagiarism/turnitin/tests/behat/assignment_any_file_type.feature:45 var/www/html/plagiarism/turnitin/tests/behat/assignment.feature:44
--- Failed steps:
001 Scenario: Add a post to a discussion with a file attached and retrieve the originality score # /var/www/html/plagiarism/turnitin/tests/behat/forum.feature:53 And I add a "Forum" to section "1" and I fill the form with: # /var/www/html/plagiarism/turnitin/tests/behat/forum.feature:37 Field matching locator "Enable Turnitin" not found. (Behat\Mink\Exception\ElementNotFoundException)
1 scenario (1 failed) 63 steps (15 passed, 1 failed, 47 skipped) 0m55.09s (68.03Mb) To re-run failed processes, you can use following command: php admin/tool/behat/cli/run.php --format="pretty" --format="progress" --format="moodle_screenshot" --colors /var/www/html/plagiarism/turnitin/tests/behat/forum.feature:53 --rerun
--- Failed steps:
001 Scenario: A submission can be queued and sent to Turnitin for a workshop # /var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:49 And I add a "Workshop" to section "1" and I fill the form with: # /var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:37 Field matching locator "use_turnitin" not found. (Behat\Mink\Exception\ElementNotFoundException)
1 scenario (1 failed) 43 steps (15 passed, 1 failed, 27 skipped) 0m52.23s (67.99Mb) To re-run failed processes, you can use following command: php admin/tool/behat/cli/run.php --format="pretty" --format="progress" --format="moodle_screenshot" --colors /var/www/html/plagiarism/turnitin/tests/behat/workshop.feature:49 --rerun
The reason is that when the test is trying to set the following
those settings are missing from the activity
what it should see 'turnitin plagiarism plugin settings'
The 'turnitin plagiarism plugin' settings is only visible when setting a valid Tunritin Account ID and Shared Key. I have tried with fake credentials to get the menu to appear but it showing error as unable to authenticate.
In the feature there are steps to set credentials but the test just leaves them blank. And I configure Turnitin URL And I configure Turnitin credentials