{"size": 537, "ext": "js", "max_stars_repo_path": "src/__test__/test.js", "max_stars_repo_name": "summergan/EndToEnd", "max_stars_repo_stars_event_min_datetime": "2019-07-31T07:43:23.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-02T07:03:04.000Z", "max_issues_repo_path": "src/__test__/test.js", "max_issues_repo_name": "summergan/EndToEnd", "max_issues_repo_issues_event_min_datetime": "2020-07-16T12:08:31.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-04T16:17:43.000Z", "max_forks_repo_path": "src/__test__/test.js", "max_forks_repo_name": "summergan/EndToEnd", "max_forks_repo_forks_event_min_datetime": "2019-07-31T07:43:23.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-26T13:07:11.000Z"}
{"max_stars_count": 8, "max_issues_count": 2, "max_forks_count": 4, "avg_line_length": 26.85, "max_line_length": 73, "alphanum_fraction": 0.5791433892}
const driver= require('../basic/puppeteer/index');
const timeout = 20000
describe(
  '/ (Home Page)',
  () => {
    beforeAll(async () => {
      await driver.goto(page,'https://cn.bing.com/')
    }, timeout)

    afterAll(async () => {
      await driver.close(page);
    })

    it('should load without error', async () => {
      console.log("test");
      await driver.click(page, "[id='sb_form_q']");
      let text = await driver.execute(page,() => document.body.innerText)
      expect(text).toContain('Bing')
    },timeout);
  })