Skip to content

Commit

Permalink
Merge pull request #552 from nanasess/fix-contact-test
Browse files Browse the repository at this point in the history
デバッグ用のコードを削除
  • Loading branch information
chihiro-adachi authored May 12, 2022
2 parents f1cd141 + 0da4a76 commit 0d606f8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions e2e-tests/test/admin/total/total.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ test.describe.serial('売上集計画面を確認をします', () => {
});

test('月度集計の確認をします', async () => {
await page.pause();
await page.goto(url);
await page.goto(`${url}?page=${method}`);
await page.click('text=月度で集計する');
Expand Down Expand Up @@ -183,7 +182,6 @@ test.describe.serial('売上集計画面を確認をします', () => {
});

test('月度集計の確認をします', async () => {
await page.pause();
await page.goto(url);
await page.goto(`${url}?page=${method}`);
await page.click('text=月度で集計する');
Expand Down Expand Up @@ -244,7 +242,6 @@ test.describe.serial('売上集計画面を確認をします', () => {
});

test('月度集計の確認をします', async () => {
await page.pause();
await page.goto(url);
await page.goto(`${url}?page=${method}`);
await page.click('text=月度で集計する');
Expand Down Expand Up @@ -289,7 +286,6 @@ test.describe.serial('売上集計画面を確認をします', () => {
});

test('月度集計の確認をします', async () => {
await page.pause();
await page.goto(url);
await page.goto(`${url}?page=${method}`);
await page.click('text=月度で集計する');
Expand Down
1 change: 0 additions & 1 deletion e2e-tests/test/front_guest/shopping.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ test.describe.serial('購入フロー(ゲスト)のテストをします', () =>
});

test('お支払い方法・お届け時間の指定をします', async () => {
await page.pause();
await page.click('text=代金引換');
await page.selectOption('select[name=deliv_date1]', { index: 2 });
await page.selectOption('select[name=deliv_time_id1]', { label: '午後' });
Expand Down
1 change: 0 additions & 1 deletion e2e-tests/test/front_login/contact.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ test.describe.serial('お問い合わせページのテストをします', () =
await page.goto(PlaywrightConfig.use.baseURL); // ログアウトしてしまう場合があるので一旦トップへ遷移する
await page.goto(url);
await page.click('input[name=confirm]');
await page.pause();
await expect(page.locator('span.attention >> nth=13')).toContainText('※ お問い合わせ内容が入力されていません。');
await expect(page.locator('textarea[name=contents]')).toHaveAttribute('style', 'background-color:#ffe8e8; ime-mode: active;');
});
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/test/front_login/shopping/shopping_deliv.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import PlaywrightConfig from '../../../../playwright.config';
import { ZapClient, ContextType, Risk, HttpMessage } from '../../../utils/ZapClient';
import { ZapClient, ContextType, Risk } from '../../../utils/ZapClient';
import { intervalRepeater } from '../../../utils/Progress';
const zapClient = new ZapClient();

Expand Down

0 comments on commit 0d606f8

Please sign in to comment.