Skip to content

Commit

Permalink
Merge pull request #348 from ikemo3/fix/test
Browse files Browse the repository at this point in the history
test: skip 'Top News' test
  • Loading branch information
ikemo3 authored Aug 29, 2021
2 parents c162d39 + 5fd56cd commit a361f86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions test/selenium/run_all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ import {
googleSearchInnerCardHardBlock,
googleSearchInnerCardCompactMenu,
} from "./test_google_search_inner_card";
import {
googleSearchTopNewsSoftBlock,
googleSearchTopNewsHardBlock,
googleSearchTopNewsCompactMenu,
} from "./test_google_search_top_news";
import {
googleSearchTweetSoftBlock,
googleSearchTweetHardBlock,
Expand All @@ -36,9 +31,9 @@ const testCases = [
googleSearchInnerCardSoftBlock,
googleSearchInnerCardHardBlock,
googleSearchInnerCardCompactMenu,
googleSearchTopNewsSoftBlock,
googleSearchTopNewsHardBlock,
googleSearchTopNewsCompactMenu,
// googleSearchTopNewsSoftBlock,
// googleSearchTopNewsHardBlock,
// googleSearchTopNewsCompactMenu,
googleSearchTweetSoftBlock,
googleSearchTweetHardBlock,
// googleSearchTweetCompactMenu,
Expand Down
2 changes: 1 addition & 1 deletion test/selenium/test_google_search_top_news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BlockType, MenuPosition } from "../../apps/repository/enums";

async function googleSearchTopNews(driver: TestWebDriver, isSoft: boolean): Promise<void> {
// search
await driver.googleSearch(["nintendo", "switch", "site:game.watch.impress.co.jp"]);
await driver.googleSearch(["ゲーム", "site:game.watch.impress.co.jp"]);
await driver.takeScreenShot("search_result.png");

// click 'block this page'
Expand Down

0 comments on commit a361f86

Please sign in to comment.