Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeri Kuzmin, Vadim Vohmjanin committed Aug 24, 2023
1 parent b0eb26d commit 1d15cda
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 3,966 deletions.
3 changes: 2 additions & 1 deletion e2e/editor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import {url} from './config.js'

async function fillPublicImport(page) {
await page.locator('.addNew').click()
await page.locator('.publicImport .accordion-button').click()
await page.locator('.publicImport input:nth-of-type(1)').fill('EditorTest')
await page.locator('.publicImport input:nth-of-type(2)').fill(url + '/i18n/')
await page.locator('.publicImport .btn').click()
await page.locator('.publicImport .btn-primary').click()
}

test('editor page functionality', async ({page}) => {
Expand Down
3 changes: 2 additions & 1 deletion e2e/import.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import {url} from './config.js'

async function fillPublicImport(projectName, page) {
await page.locator('.addNew').click()
await page.locator('.publicImport .accordion-button').click()
await page.locator('.publicImport input:nth-of-type(1)').fill(projectName)
await page.locator('.publicImport input:nth-of-type(2)').fill(url + '/i18n/')
await page.locator('.publicImport .btn').click()
await page.locator('.publicImport .btn-primary').click()
}

test('import public twice', async ({page}) => {
Expand Down
Loading

0 comments on commit 1d15cda

Please sign in to comment.