Beispiel #1
0
 def test_go_to_organism(self, bp: BasePage):
     """
     Tests navigating to the Organism page.
     
     :return: None.
     """
     bp.go_to_organism()
     assert bp.organism_displayed()
     bp.util.sleep(3)
Beispiel #2
0
 def test_toggle_org_details(self, bp: BasePage, op: OrganismPage):
     """
     Tests toggling the Details panel within the Organism page on and off.
     
     :return: None.
     """
     bp.go_to_organism()
     op.open_org_details()
     assert op.org_details_displayed()
     op.close_org_details()
     assert not op.org_details_displayed()
     op.open_org_details()
     assert op.org_details_displayed()
Beispiel #3
0
    def test_toggle_org_settings(self, bp: BasePage, op: OrganismPage):
        """
        Tests closing the Organism Settings pop-up.

        :return: None.
        """

        bp.go_to_organism()
        op.open_org_settings()
        assert op.org_settings_displayed()
        op.close_org_settings()
        bp.util.sleep(1)
        assert not op.org_settings_displayed()