mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
test: rename test file to prevent being ignored by jest
This commit is contained in:
parent
84db856160
commit
35a313b51b
1 changed files with 3 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { patientClick, selectFileTreeItem, sleep, waitForLegacyPJAXRedirect } from '../utils'
|
||||
|
||||
describe(`in Gitako project page`, () => {
|
||||
beforeAll(() => page.goto('https://github.com/EnixCoda/Gitako/src'))
|
||||
beforeAll(() => page.goto('https://github.com/EnixCoda/Gitako/tree/develop/src'))
|
||||
|
||||
it('should work with PJAX', async () => {
|
||||
await sleep(3000)
|
||||
|
|
@ -9,18 +9,16 @@ describe(`in Gitako project page`, () => {
|
|||
await patientClick(page, selectFileTreeItem('src/analytics.ts'))
|
||||
await waitForLegacyPJAXRedirect()
|
||||
|
||||
await page.click('a[data-tab-item="issues-tab"]')
|
||||
await page.click('a[data-selected-links^="repo_issues "]')
|
||||
await waitForLegacyPJAXRedirect()
|
||||
|
||||
await page.click('a[data-tab-item="pull-requests-tab"]')
|
||||
await page.click('a[data-selected-links^="repo_pulls "]')
|
||||
await waitForLegacyPJAXRedirect()
|
||||
|
||||
page.goBack()
|
||||
await waitForLegacyPJAXRedirect()
|
||||
await sleep(1000)
|
||||
|
||||
page.goBack()
|
||||
await waitForLegacyPJAXRedirect()
|
||||
await sleep(1000)
|
||||
|
||||
expect(
|
||||
Loading…
Reference in a new issue