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

Automated testing for the bug-log button in admin dashboard navigation (User Story 2) #45

Open
wants to merge 8 commits into
base: f24
Choose a base branch
from

Conversation

akobaidan
Copy link

@akobaidan akobaidan commented Oct 20, 2024

Modified test/controllers-admin.js to test the functionality of bug-log button in admin dashboard navigation.

The test should load admin dashboard with bug-logs expands on the existing test of should load admin dashboard by checking for the loading of the route /admin/dashboard/bug-logs. In doing so, the test verifies that the button is in the navigation of the admin dashboard and ensures that the page is loadable with the correct view file src/views/admin/dashboard/bug-logs.tpl

The test contributes to having comprehensive coverage that validates the new functionality within the admin dashboard for issue #17.

This test closes issue #44.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11425011603

Details

  • 6 of 19 (31.58%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 82.664%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/controllers/admin/dashboard.js 6 19 31.58%
Totals Coverage Status
Change from base Build 11057241668: -0.02%
Covered Lines: 22360
Relevant Lines: 25633

💛 - Coveralls

Copy link

@aattiyah aattiyah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link

@lhitmi lhitmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests look good and cover all relevant functionalities!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend main code is written in backend Test This tests features that were implemented
Projects
None yet
4 participants