Alan Guo Xiang Tan
68a3f7783e
DEV: Remove the use of Capybara::Session#quit
( #24978 )
...
Why this change?
This is what `Capybara::Session#quit` does:
```
def quit
@driver.quit if @driver.respond_to? :quit
@document = @driver = nil
@touched = false
@server&.reset_error!
end
```
One notable thing is that it resets server errors which means that any
server errors encountered by a session is cleared. That is not what we
want since it hides errors even though `Capybara.raise_server_errors`
has been set to `true`.
2023-12-20 13:20:14 +08:00
..
2023-11-09 16:47:59 -06:00
2023-11-20 17:22:14 +01:00
2023-11-06 15:45:30 +01:00
2023-10-09 07:24:10 +08:00
2023-12-18 22:09:47 +01:00
2023-12-20 13:20:14 +08:00
2023-07-27 09:57:03 +02:00
2023-08-31 11:21:23 +02:00
2023-12-20 13:20:14 +08:00
2023-12-19 09:27:09 +01:00
2023-12-20 13:20:14 +08:00
2023-11-10 11:29:28 +01:00
2023-11-09 16:47:59 -06:00
2023-11-06 15:45:30 +01:00
2023-06-07 09:26:58 +08:00
2023-12-18 17:49:58 +01:00
2023-12-19 16:28:07 +01:00
2023-12-06 23:25:00 +01:00
2023-12-18 22:09:47 +01:00
2023-08-21 16:31:58 +02:00
2023-12-20 13:20:14 +08:00
2023-11-22 11:54:23 +01:00
2023-08-28 12:59:22 +08:00
2023-11-13 22:03:47 +01:00
2023-06-07 09:26:58 +08:00
2023-11-20 17:22:14 +01:00
2023-06-07 09:26:58 +08:00
2023-07-26 12:46:23 +02:00
2023-12-20 13:20:14 +08:00
2023-11-06 15:45:30 +01:00
2023-12-20 13:20:14 +08:00
2023-06-07 09:26:58 +08:00
2023-12-18 17:49:58 +01:00
2023-12-20 13:20:14 +08:00
2023-10-04 16:14:37 +02:00
2023-11-09 16:47:59 -06:00
2023-10-24 18:51:33 +02:00
2023-06-07 09:26:58 +08:00
2023-08-22 15:54:35 -05:00
2023-11-30 10:55:05 +01:00
2023-11-06 15:45:30 +01:00
2023-11-06 15:45:30 +01:00
2023-11-07 11:34:35 +01:00
2023-12-06 22:25:11 +01:00
2023-07-10 13:43:33 +02:00
2023-12-19 09:27:09 +01:00
2023-12-20 13:20:14 +08:00
2023-06-07 09:26:58 +08:00
2023-07-14 08:26:18 +02:00
2023-12-20 13:20:14 +08:00
2023-06-07 09:26:58 +08:00
2023-12-20 13:20:14 +08:00
2023-08-24 18:21:28 +02:00
2023-11-30 19:33:41 +01:00
2023-11-09 16:47:59 -06:00
2023-06-07 09:26:58 +08:00
2023-08-31 11:21:23 +02:00
2023-11-07 11:34:35 +01:00
2023-11-09 16:47:59 -06:00
2023-12-20 13:20:14 +08:00
2023-12-06 22:25:11 +01:00
2023-12-06 19:08:56 +08:00
2023-12-06 22:25:26 +01:00
2023-08-23 13:06:29 +02:00
2023-12-11 07:38:07 +01:00
2023-11-09 16:47:59 -06:00