feat: translation flows, revision conflicts, delete scopes, article moves and a target site for new articles
This commit is contained in:
1 parent
339e646eb8
commit
45fbbc33b1
93 files changed
+7630
-294
No files matched your search
@@ -5,6 +5,7 @@ import { approvedExceptions } from './approvedExceptions'
|
||||
import { articleListStates } from './articleListStates'
|
||||
import { conflictsMovesStates, editorLocalizationStates } from './editorLocalizationStates'
|
||||
import { localizationStates } from './localizationStates'
|
||||
import { newArticleLocalizationStates } from './newArticleLocalizationStates'
|
||||
import { rolesStates } from './rolesStates'
|
||||
|
||||
export interface ApiMock {
|
||||
@@ -814,7 +815,7 @@ function submitNewArticle() {
|
||||
return async (page: Page) => {
|
||||
await openNewArticleModal(page)
|
||||
await fillNewArticleValid(page)
|
||||
await page.getByRole('button', { name: 'Create draft', exact: true }).click()
|
||||
await page.getByRole('button', { name: 'Create article', exact: true }).click()
|
||||
await page.mouse.move(0, 0)
|
||||
}
|
||||
}
|
||||
@@ -10158,7 +10159,7 @@ export const visualStates: Record<string, Record<string, VisualState>> = {
|
||||
await openNewArticleModal(page)
|
||||
await page.getByPlaceholder(`e.g. ${newArticleTitle}`).fill('Ti')
|
||||
await page.getByPlaceholder(`e.g. ${newArticleTitle}`).blur()
|
||||
await page.getByRole('button', { name: 'Create draft', exact: true }).click()
|
||||
await page.getByRole('button', { name: 'Create article', exact: true }).click()
|
||||
await page.mouse.move(0, 0)
|
||||
},
|
||||
},
|
||||
@@ -10350,4 +10351,5 @@ export const visualStates: Record<string, Record<string, VisualState>> = {
|
||||
'localization-list': articleListStates,
|
||||
'localization-editor': editorLocalizationStates,
|
||||
'localization-conflicts-moves': conflictsMovesStates,
|
||||
'localization-new-article': newArticleLocalizationStates,
|
||||
}
|
||||
Reference in new issue
Block a user