1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Revert "Speed up warmServer by loading pages (and files) asynchronously (#16752)" (#16835)

This reverts commit 1d5e216404.
This commit is contained in:
Jason Etcovitch
2020-12-09 12:12:07 -05:00
committed by GitHub
parent 4928b9d282
commit a14517115f
10 changed files with 103 additions and 142 deletions

View File

@@ -3,8 +3,6 @@ const sleep = require('await-sleep')
const querystring = require('querystring')
describe('homepage', () => {
jest.setTimeout(60 * 1000)
test('should be titled "GitHub Documentation"', async () => {
await page.goto('http://localhost:4001')
await expect(page.title()).resolves.toMatch('GitHub Documentation')
@@ -12,8 +10,6 @@ describe('homepage', () => {
})
describe('algolia browser search', () => {
jest.setTimeout(60 * 1000)
it('works on the homepage', async () => {
await page.goto('http://localhost:4001/en')
await page.click('#search-input-container input[type="search"]')