Skip to content

Commit

Permalink
SPSH-994 fix Filter setzen Ergebnisliste Klasse (#51)
Browse files Browse the repository at this point in the history
* fix Filter setzen Ergebnisliste Klasse

* retry wieder von 1 auf 2 gesetzt
  • Loading branch information
jakobmadp authored Aug 22, 2024
1 parent 835f752 commit 3c27a45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
expect: { timeout: 10000 },
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
retries: process.env.CI ? 2 : 0,
maxFailures: 3,
workers: process.env.CI ? 1 : undefined,
reporter: [["html"]],
Expand Down
6 changes: 3 additions & 3 deletions tests/Klasse.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ test.describe(`Testfälle für die Administration von Klassen: Umgebung: ${proce

await test.step(`In der Ergebnisliste prüfen, dass die neue Klasse angezeigt wird`, async () => {
await Menue.menueItem_AlleKlassenAnzeigen.click();
await KlasseManagementView.combobox_Filter_Schule.fill(SCHULNAME);
await page.keyboard.press('ArrowDown');
await page.keyboard.press('Enter');
await KlasseManagementView.combobox_Filter_Schule.fill(SCHULNAME);
await page.keyboard.press('ArrowDown', { delay: 300 }); // Wenn die Umgebung zu schnell ist, werden Tastaturbefehle manchmal verschluckt
await page.keyboard.press('Enter', { delay: 300 });
await KlasseManagementView.text_h2_Klassenverwaltung.click(); // dies schließt das Dropdown Klasse
await expect(page.getByRole('cell', { name: KLASSENNAME })).toBeVisible();
});
Expand Down

0 comments on commit 3c27a45

Please sign in to comment.