If the connection to the federation source Wiki becomes unavailable between when the page is loaded and when I click on the Edit pen on a statement, I am still able to open the edit console. A request will go out to format the existing value in the statement which then fails. The original value disappears and I cannot add a new one or save.
If the request fails when I click the edit button, I should not be able to access the edit console. An error message should be displayed stating that the connection to the source Wiki is temporarily unavailable.
BDD (Scenario: Clicking the edit button when connection is not available)
Given I have loaded an item page containing statements with federated properties
And the connection to the source Wiki is interrupted
When I select the Edit button on a statement
Then a notification modal is displayed that explains why I cannot edit the statement [see mock]
And the edit console does not open
BDD (Scenario: Dismissing the notification)
Given I have clicked the Edit button and the modal appears stating that the source Wiki is unavailable
When I select the Try again button
Then the modal is dismissed
Figma File (Solution1)