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

add test to check total slide numbers #12

Merged
merged 1 commit into from
Jan 20, 2025
Merged

add test to check total slide numbers #12

merged 1 commit into from
Jan 20, 2025

Conversation

PrajwolAmatya
Copy link
Collaborator

Description

Until now we had static value to loop through and generate snapshot for each slides. When new slide was added to test purpose because of the static value all the slides were not checked. So, this PR:

  • fixed the total loop
  • added test to check the total number of slides to make sure we check all the slides.

Adding the test to check the expected number of slides will insure we check all the slides, which was an concern discussed in the comment https://github.com/opf/training/pull/117#discussion_r1760584465.

@PrajwolAmatya PrajwolAmatya self-assigned this Jan 20, 2025
@PrajwolAmatya PrajwolAmatya marked this pull request as ready for review January 20, 2025 08:50
@PrajwolAmatya PrajwolAmatya marked this pull request as draft January 20, 2025 08:54
@PrajwolAmatya PrajwolAmatya removed the request for review from nirajacharya2 January 20, 2025 08:54
@PrajwolAmatya PrajwolAmatya marked this pull request as ready for review January 20, 2025 08:58
@PrajwolAmatya PrajwolAmatya merged commit f05d181 into main Jan 20, 2025
3 checks passed
@PrajwolAmatya PrajwolAmatya deleted the fix-test branch January 20, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants