MDL-66979 behat: Fix window switching
commiteec766f375e941b363d2b956cefc4c7e8aa91f36
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 25 Nov 2019 00:03:47 +0000 (25 08:03 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 22 Jan 2021 06:52:13 +0000 (22 14:52 +0800)
treeed1821fa731f970e8d585b3ead67899e8894a365
parent5212bfc961929c311df630de4ba8060351d06dd7
MDL-66979 behat: Fix window switching

Normalise switching of window contexts by setting the main window name
to a null.

Where the window has no name (null/empty), then the root context is
selected.
lib/tests/behat/behat_forms.php
lib/tests/behat/behat_general.php