feat(front): 官网套餐页提交开通意向线索(PlatformLead)
This commit is contained in:
@@ -9,16 +9,21 @@ class FrontPlatformPagesUseExternalCssTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function test_platform_pages_should_link_platform_css_and_not_inline_style_block(): void
|
||||
public function test_platform_index_should_use_external_css_and_not_inline_style_block(): void
|
||||
{
|
||||
$res1 = $this->get('/platform');
|
||||
$res1->assertOk();
|
||||
$res1->assertSee('<link rel="stylesheet" href="/css/platform.css">', false);
|
||||
$res1->assertDontSee('<style>', false);
|
||||
$res = $this->get('/platform');
|
||||
$res->assertOk();
|
||||
|
||||
$res2 = $this->get('/platform/plans');
|
||||
$res2->assertOk();
|
||||
$res2->assertSee('<link rel="stylesheet" href="/css/platform.css">', false);
|
||||
$res2->assertDontSee('<style>', false);
|
||||
$res->assertSee('/css/platform.css', false);
|
||||
$res->assertDontSee('<style>', false);
|
||||
}
|
||||
|
||||
public function test_platform_plans_should_use_external_css_and_not_inline_style_block(): void
|
||||
{
|
||||
$res = $this->get('/platform/plans');
|
||||
$res->assertOk();
|
||||
|
||||
$res->assertSee('/css/platform.css', false);
|
||||
$res->assertDontSee('<style>', false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user