'Tests the router interface creation and deletion by row action:
* Follows the steps to create a new router
* Clicks on the new router name from the routers table
* Moves to the Interfaces page/tab
* Adds a new Interface for the first subnet id available
* Verifies the new interface is in the routers table
* Deletes the newly created interface by row action
* Verifies the interface is no longer in the interfaces table
* Switches to the routers view by clicking on the breadcrumb link
* Follows the steps to delete the router'

def test_router_delete_interface_by_row(self):

    self._create_router()
    routers_page = self.routers_page
    router_interfaces_page = routers_page.go_to_interfaces_page(self.ROUTER_NAME)
    self._create_interface(router_interfaces_page)
    interface_name = router_interfaces_page.interfaces_names[0]
    router_interfaces_page.delete_interface_by_row_action(interface_name)
    router_interfaces_page.switch_to_routers_page()
    self._delete_router()
