From 16d73803311552ad7ed3560c2cbdce440d2abfa4 Mon Sep 17 00:00:00 2001 From: Ceithir Date: Sat, 11 Nov 2023 20:13:36 +0100 Subject: [PATCH] Fix another intermittent test Inspired by https://github.com/otwcode/otwarchive/pull/4656 --- features/other_a/orphan_pseud.feature | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/other_a/orphan_pseud.feature b/features/other_a/orphan_pseud.feature index 069980c1491..a144c7ac1c1 100644 --- a/features/other_a/orphan_pseud.feature +++ b/features/other_a/orphan_pseud.feature @@ -18,6 +18,8 @@ Feature: Orphan pseud When I follow "Back To Pseuds" Then I should see "orphanpseud" And I should see "2 works" + # Delay before orphaning to make sure the cache is expired + And it is currently 1 second from now When I follow "Orphan Works" Then I should see "Orphan All Works by orphanpseud" When I choose "Take my pseud off as well" @@ -44,6 +46,8 @@ Feature: Orphan pseud When I follow "Back To Pseuds" Then I should see "orphanpseud" And I should see "2 works" + # Delay before orphaning to make sure the cache is expired + And it is currently 1 second from now When I follow "Orphan Works" Then I should see "Orphan All Works by orphanpseud" When I choose "Leave a copy of my pseud on"