Disabled package specs for now

This commit is contained in:
Maurício Szabo 2022-11-20 23:08:19 -03:00
parent 151eeb1619
commit ccdd27b945

View File

@ -57,22 +57,22 @@ test.describe('Opening Atom for the first time', () => {
}) })
}) })
test('shows core packages', async () => { //test('shows core packages', async () => {
await runCommand(editor, 'Settings View: Open') // await runCommand(editor, 'Settings View: Open')
await editor.page.locator('a.icon', { hasText: 'Packages' }).click() // await editor.page.locator('a.icon', { hasText: 'Packages' }).click()
await expect(editor.page.locator('.package-name', { hasText: 'about' }).first()) // await expect(editor.page.locator('.package-name', { hasText: 'about' }).first())
.toBeVisible() // .toBeVisible()
}) //})
test('allows to install for packages', async () => { //test('allows to install for packages', async () => {
await runCommand(editor, 'Settings View: Open') // await runCommand(editor, 'Settings View: Open')
await editor.page.locator('a.icon', { hasText: 'Install' }).click() // await editor.page.locator('a.icon', { hasText: 'Install' }).click()
await typeInEditor(editor, '.packages', "termination") // await typeInEditor(editor, '.packages', "termination")
await editor.page.locator('button.install-button:visible', { hasText: 'Install' }).click() // await editor.page.locator('button.install-button:visible', { hasText: 'Install' }).click()
test.setTimeout(120000); // test.setTimeout(120000);
await expect(editor.page.locator('button', { hasText: 'Settings' }).first()) // await expect(editor.page.locator('button', { hasText: 'Settings' }).first())
.toBeVisible({ timeout: 120000 }) // .toBeVisible({ timeout: 120000 })
}) //})
test.describe('the editor have syntax highlight', async () => { test.describe('the editor have syntax highlight', async () => {
test.beforeAll(async () => { test.beforeAll(async () => {