diff --git a/codeception/acceptance/EA07BasicinfoCest.php b/codeception/acceptance/EA07BasicinfoCest.php index 0ff8e03b6c..bd1151cc6d 100644 --- a/codeception/acceptance/EA07BasicinfoCest.php +++ b/codeception/acceptance/EA07BasicinfoCest.php @@ -87,6 +87,8 @@ public function basicinfo_基本設定(AcceptanceTester $I) $I->waitForText('05055555555', 10, '#help_about_box__phone_number dd'); } + + public function basicinfo_会員設定_仮会員機能(AcceptanceTester $I) { $I->wantTo('EA0701-UC01-T06_会員設定の設定、編集(仮会員機能:無効)'); @@ -1017,4 +1019,26 @@ public function basicinfo_税設定_適格請求書発行事業者登録番号(A $I->getScenario()->incomplete('SJISの納品書を確認することが困難なため未実装'); } + + /** + * @group vaddy + * @group basicsetting + */ + public function basicinfo_GAタグ設定(AcceptanceTester $I) + { + $I->wantTo('EA0714-UC01-T01 GAタグ設定'); + + // GAタグ設定 + $page = ShopSettingPage::go($I) + ->入力_GAタグ('UA-12345678-1'); + $I->wait(1); + $page->登録(); + + $I->waitForText('保存しました', 10, ShopSettingPage::$登録完了メッセージ); + + // GAタグが設定されているか + $I->amOnPage('/'); + $I->seeInPageSource('https://www.googletagmanager.com/gtag/js?id=UA-12345678-1'); + + } }