2022-08-25 22:38:03 +03:00
|
|
|
import { languageKeys } from '../../lib/languages'
|
|
|
|
import { get } from '../helpers/e2etest.js'
|
|
|
|
|
2022-09-12 15:12:07 +03:00
|
|
|
const langs = languageKeys.filter((lang) => lang !== 'en')
|
2022-08-25 22:38:03 +03:00
|
|
|
|
|
|
|
// Skipping for now, as we would need to download the indexes with LFS
|
|
|
|
// in Actions to run these. Explore again after ES switch over.
|
|
|
|
describe.skip('search', () => {
|
|
|
|
test.each(langs)('search in %s', async (lang) => {
|
|
|
|
const res = await get(`/search?language=${lang}&version=dotcom&query=pages`)
|
|
|
|
expect(res.statusCode).toBe(200)
|
|
|
|
})
|
|
|
|
})
|