issues
search
TryGhost
/
Ghost
Independent technology for modern publishing, memberships, subscriptions and newsletters.
https://ghost.org
MIT License
46.99k
stars
10.22k
forks
source link
Fixed flaky admin test in Publish+Send Flow
#20463
Closed
ronaldlangeveld
closed
3 months ago
ronaldlangeveld
commented
3 months ago
ref ONC-109
Attempt to fix flaky Admin test, "Publish flow members enabled can schedule publish+send"
Adjusted the time calculation to the nearest minute to avoid off-by-one minute errors
Added
waitFor
to ensure elements are present and stable before making assertions.
Rounded the new scheduled date and time to the nearest minute to maintain consistency
Included extra
waitFor
and
settled
calls to allow time for UI elements to fully load and reflect changes before assertions.
ref ONC-109
waitFor
to ensure elements are present and stable before making assertions.waitFor
andsettled
calls to allow time for UI elements to fully load and reflect changes before assertions.