Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We can add following tests to this module.
- Test to ensure website is working after enabling Disqus module.
- Test to verify presence of Disqus HTML elements in the DOM after adding a Disqus field.
- Test to verify working of Disqus Comments View field by mocking the Disqus API
Issue fork disqus-2289295
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #1
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #2
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #3
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #4
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #5
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedThis error will have to be resolved for any tests to work.
Comment #7
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedAdded a few basic tests along with the required changes in the module. I will be taking hint from here and then write more field-based tests.
Comment #9
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #12
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #13
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedComment #15
gaurav.kapoor CreditAttribution: gaurav.kapoor at Axelerant commentedMerged the MR as all the threads have been resolved. Let's continue to build more tests in the follow-up issues. Thanks, everyone for working on this. Marking this issue as fixed.
Feel free to open up new issue for any changes that are needed in commit done for this issue or improvements in automated tests for the Disqus module.