FIX: Destroy draft when clicking the Discard button (#28552)

This commit is contained in:
Jan Cernik
2024-08-26 10:49:26 -05:00
committed by GitHub
parent 58d687a92e
commit b0f6d074be
3 changed files with 33 additions and 4 deletions

View File

@ -11,6 +11,10 @@ module PageObjects
def closed?
has_no_css?(".modal.d-modal#{MODAL_SELECTOR}")
end
def click_save
footer.find("button.save-draft").click
end
end
end
end