

$this->assertTrue((bool) preg_match('/^Successfully processed your submission and sent an email notification to the relevant curator*$/', $this->driver->findElement(WebDriverBy::cssSelector("table"))->getText())) $this->enterValue(WebDriverBy::name("VariantOnGenome/Frequency"), "11/10000") $this->enterValue(WebDriverBy::name("VariantOnGenome/Reference"), "") Move mouse to let browser hide tooltip of pubmed link (needed for chrome) $element = $this->driver->findElement(WebDriverBy::linkText("PubMed")) $this->assertTrue((bool) preg_match('/^*\\/src\\/variantscreate&reference=Genome$/', $this->driver->getCurrentURL())) $this->assertTrue((bool) preg_match('/^*\\/src\\/variantscreate$/', $this->driver->getCurrentURL())) $this->assertTrue((bool) preg_match('/^*Please reconsider to submit individual data as well, as it makes the data you submit much more valuable!*$/', $this->getConfirmation())) $element = $this->driver->findElement(WebDriverBy::id("tab_submit")) $this->waitUntil(WebDriverExpectedCondition::titleContains("View genomic variant")) Public function testAddSummaryVariantOnlyDescribedOnGenomicLevel() $this->assertEquals("Successfully created the screening entry!", $this->driver->findElement(WebDriverBy::cssSelector("table"))->getText()) $element = screening information entry']")) $this->check(WebDriverBy::name("variants_found")) $option = (isovaleryl-CoA dehydrogenase)"]')) $option = for Comparative Genomic Hybridisation"]')) $element = $this->driver->findElement(WebDriverBy::xpath("//div/table/tbody/tr/td/table/tbody/tr/td/b"))

Public function testAddScreeningToHealthyIndividual()
