Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behat tests failures on Moodle 4.3 #708

Open
binhdang83 opened this issue May 28, 2024 · 0 comments
Open

Behat tests failures on Moodle 4.3 #708

binhdang83 opened this issue May 28, 2024 · 0 comments

Comments

@binhdang83
Copy link

binhdang83 commented May 28, 2024

There are many failures by running the Behat tests of the latest version of plagiarism/Turnitin, 2024020501, on Moodle 4.3 :

--- Failed steps:

001 Scenario: Student accepts eula, submits and instructor opens the viewer # /moodle4.3/plagiarism/turnitin/tests/behat/assignment.feature:44
      Then the following should exist in the "plugins-control-panel" table: # /moodle4.3/plagiarism/turnitin/tests/behat/assignment.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

002 Scenario: Student accepts eula, submits a non-OR file and instructor opens the viewer # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_any_file_type.feature:45
      Then the following should exist in the "plugins-control-panel" table:               # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_any_file_type.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

003 Scenario: A student can submit a draft and it is not sent to Turnitin until it is submitted. # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_drafts.feature:49
      Then the following should exist in the "plugins-control-panel" table:                      # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_drafts.feature:34
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

004 Scenario: A student can submit a draft and it is sent to Turnitin.      # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_drafts.feature:120
      Then the following should exist in the "plugins-control-panel" table: # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_drafts.feature:34
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

005 Scenario: Confirm that all students in a group can see the similarity report even if they didn't submit. # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_groups.feature:57
      And I add a "Assignment" to section "1" and I fill the form with:                                      # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_groups.feature:40
        Field matching locator "use_turnitin" not found. (Behat\Mink\Exception\ElementNotFoundException)

006 Scenario: Student accepts eula, submits multiple files and these are sent to Turnitin. # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_multiple_files.feature:45
      Then the following should exist in the "plugins-control-panel" table:                # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_multiple_files.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

007 Scenario: Student accepts eula, submits, gets a report and then resubmits, then and instructor opens the viewer # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_resubmission.feature:45
      Then the following should exist in the "plugins-control-panel" table:                                         # /moodle4.3/plagiarism/turnitin/tests/behat/assignment_resubmission.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

008 Scenario: Student can still submit to Moodle even if declining the EULA. The student can then accept the EULA and the admin can resubmit the file. # /moodle4.3/plagiarism/turnitin/tests/behat/eula.feature:44
      Then the following should exist in the "plugins-control-panel" table:                                                                            # /moodle4.3/plagiarism/turnitin/tests/behat/eula.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

009 Scenario: Add a post to a discussion with a file attached and retrieve the originality score # /moodle4.3/plagiarism/turnitin/tests/behat/forum.feature:53
      Then the following should exist in the "plugins-control-panel" table:                      # /moodle4.3/plagiarism/turnitin/tests/behat/forum.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

010 Scenario: Test the plugin connectivity                                  # /moodle4.3/plagiarism/turnitin/tests/behat/installed.feature:26
      Then the following should exist in the "plugins-control-panel" table: # /moodle4.3/plagiarism/turnitin/tests/behat/installed.feature:21
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

011 Scenario: Student accepts eula, submits and instructor opens the viewer and finds a masked student name. # /moodle4.3/plagiarism/turnitin/tests/behat/pseudo_submission.feature:51
      Then the following should exist in the "plugins-control-panel" table:                                  # /moodle4.3/plagiarism/turnitin/tests/behat/pseudo_submission.feature:39
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

012 Scenario: A submission can be queued and sent to Turnitin for a workshop # /moodle4.3/plagiarism/turnitin/tests/behat/workshop.feature:49
      Then the following should exist in the "plugins-control-panel" table:  # /moodle4.3/plagiarism/turnitin/tests/behat/workshop.feature:32
        Table matching locator "plugins-control-panel" not found. (Behat\Mink\Exception\ElementNotFoundException)

12 scenarios (12 failed)
708 steps (159 passed, 12 failed, 2 undefined, 535 skipped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants