From 171990a33fdac5699391921539a8149a3bef3c7e Mon Sep 17 00:00:00 2001 From: Felix Cornelissen Date: Mon, 23 Dec 2024 16:56:28 +0100 Subject: [PATCH] cleanup --- Kiss.Bff.EndToEndTest/NieuwsEnWerkInstructies/Scenarios.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kiss.Bff.EndToEndTest/NieuwsEnWerkInstructies/Scenarios.cs b/Kiss.Bff.EndToEndTest/NieuwsEnWerkInstructies/Scenarios.cs index ffdc15b9..69e9c743 100644 --- a/Kiss.Bff.EndToEndTest/NieuwsEnWerkInstructies/Scenarios.cs +++ b/Kiss.Bff.EndToEndTest/NieuwsEnWerkInstructies/Scenarios.cs @@ -287,6 +287,8 @@ public async Task Scenario10() await Page.GetSkillsFieldset().GetByRole(AriaRole.Checkbox, new() { Name = skill.Naam }).CheckAsync(); await Step("Then no articles are visible"); + // wait until the spinner is gone + await Expect(Page.Locator(".spinner")).ToBeHiddenAsync(); var articles = Page.GetByRole(AriaRole.Article); await Expect(articles).ToBeHiddenAsync(); }