Skip to content

Commit

Permalink
Fix e2e test (#4162)
Browse files Browse the repository at this point in the history
* fix e2e test

* Added freeze time to test test_smoke_page_individuals_details

---------

Co-authored-by: Szymon Wyderka <[email protected]>
Co-authored-by: szymon-kellton <[email protected]>
  • Loading branch information
3 people authored Aug 26, 2024
1 parent d83d2d1 commit 0c2ec22
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from django.core.management import call_command

import pytest
from freezegun import freeze_time
from page_object.programme_population.individuals import Individuals
from page_object.programme_population.individuals_details import IndividualsDetails

Expand Down Expand Up @@ -40,6 +41,7 @@ def test_smoke_page_individuals(
assert "Administrative Level 2" in pageIndividuals.getIndividualLocation().text
assert 6 == len(pageIndividuals.getIndividualTableRow())

@freeze_time("2024-08-26")
def test_smoke_page_individuals_details(
self,
create_programs: None,
Expand Down

0 comments on commit 0c2ec22

Please sign in to comment.