-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: import/export de configuration (work in progress) (#1837)
- Loading branch information
1 parent
7b77d37
commit b87e2d4
Showing
8 changed files
with
631 additions
and
25 deletions.
There are no files selected for viewing
585 changes: 585 additions & 0 deletions
585
dashboard/src/scenes/data-import-export/ImportConfig.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ test("test", async ({ page }) => { | |
await loginWith(page, "[email protected]"); | ||
|
||
await page.getByRole("link", { name: "Organisation" }).click(); | ||
await page.getByRole("button", { name: "Personnes suivies" }).click(); | ||
await page.getByRole("button", { name: "Personnes suivies", exact: true }).click(); | ||
await page.getByRole("button", { name: "Ajouter un champ" }).nth(1).click(); | ||
await page.getByLabel("Nom").fill("Champ non utilisé"); | ||
await page.getByRole("button", { name: "Enregistrer" }).click(); | ||
|
@@ -48,7 +48,7 @@ test("test", async ({ page }) => { | |
await page.getByRole("link", { name: "Organisation" }).click(); | ||
await expect(page).toHaveURL(/http:\/\/localhost:8090\/organisation\/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/); | ||
|
||
await page.getByRole("button", { name: "Personnes suivies" }).click(); | ||
await page.getByRole("button", { name: "Personnes suivies", exact: true }).click(); | ||
|
||
await page.hover('[data-test-id="Champ utilisé"]'); | ||
await page | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ test("Documents organizer", async ({ page }) => { | |
await loginWith(page, "[email protected]"); | ||
|
||
await page.getByRole("link", { name: "Organisation" }).click(); | ||
await page.getByRole("button", { name: "Personnes suivies" }).click(); | ||
await page.getByRole("button", { name: "Personnes suivies", exact: true }).click(); | ||
await page | ||
.getByLabel( | ||
/Activer\s+la\s+possibilité\s+d'ajouter\s+des\s+liens\s+familiaux\s+entre\s+personnes\.\s+Un\s+onglet\s+"Famille"\s+sera\s+rajouté\s+dans\s+les\s+personnes,\s+et\s+vous\s+pourrez\s+créer\s+des\s+actions,\s+des\s+commentaires\s+et\s+des\s+documents\s+visibles\s+pour\s+toute\s+la\s+famille\./ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters