public function ContextOmegaWebTests::testBlockVisibility in Context omega 7
The block inside the context_omega_test module should be visible.
When a user visits the custom-omega-test URL the block should be visible. This only works with test available fix.
File
- ./
context_omega.test, line 38 - Contains the tests for the context_omega module.
Class
- ContextOmegaWebTests
- Class ContextOmegaWebTests.
Code
public function testBlockVisibility() {
// Go to the URL.
$this
->drupalGet('custom-omega-test');
// The page should be available.
$this
->assertResponse(200);
// The block title should be visible.
$this
->assertText(t('Omega Test Block'));
}